sc2ai 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/data/sc2ai/protocol/data.proto +2 -2
  3. data/data/sc2ai/protocol/debug.proto +1 -1
  4. data/data/sc2ai/protocol/raw.proto +6 -6
  5. data/data/sc2ai/protocol/sc2api.proto +1 -1
  6. data/data/sc2ai/protocol/ui.proto +1 -1
  7. data/{lib/docker_build → docker_build}/Dockerfile.ruby +2 -2
  8. data/lib/sc2ai/cli/ladderzip.rb +1 -1
  9. data/lib/sc2ai/local_play/client.rb +1 -1
  10. data/lib/sc2ai/local_play/match.rb +1 -0
  11. data/lib/sc2ai/overrides/async/process/child.rb +2 -1
  12. data/lib/sc2ai/paths.rb +0 -1
  13. data/lib/sc2ai/player/debug.rb +3 -3
  14. data/lib/sc2ai/player.rb +9 -0
  15. data/lib/sc2ai/protocol/common_pb.rb +460 -105
  16. data/lib/sc2ai/protocol/data_pb.rb +833 -482
  17. data/lib/sc2ai/protocol/debug_pb.rb +1112 -401
  18. data/lib/sc2ai/protocol/error_pb.rb +430 -862
  19. data/lib/sc2ai/protocol/extensions/action.rb +1 -1
  20. data/lib/sc2ai/protocol/extensions/color.rb +1 -1
  21. data/lib/sc2ai/protocol/extensions/point.rb +1 -1
  22. data/lib/sc2ai/protocol/extensions/point_2_d.rb +1 -1
  23. data/lib/sc2ai/protocol/extensions/point_distance.rb +4 -4
  24. data/lib/sc2ai/protocol/extensions/position.rb +20 -0
  25. data/lib/sc2ai/protocol/extensions/power_source.rb +1 -1
  26. data/lib/sc2ai/protocol/extensions/unit.rb +1 -1
  27. data/lib/sc2ai/protocol/extensions/unit_type_data.rb +1 -1
  28. data/lib/sc2ai/protocol/query_pb.rb +558 -88
  29. data/lib/sc2ai/protocol/raw_pb.rb +1829 -1156
  30. data/lib/sc2ai/protocol/sc2api_pb.rb +5233 -1463
  31. data/lib/sc2ai/protocol/score_pb.rb +444 -103
  32. data/lib/sc2ai/protocol/spatial_pb.rb +935 -145
  33. data/lib/sc2ai/protocol/ui_pb.rb +1432 -435
  34. data/lib/sc2ai/version.rb +1 -1
  35. data/lib/templates/new/api/data.proto +2 -2
  36. data/lib/templates/new/api/debug.proto +1 -1
  37. data/lib/templates/new/api/raw.proto +6 -6
  38. data/lib/templates/new/api/sc2api.proto +1 -1
  39. data/lib/templates/new/api/ui.proto +1 -1
  40. data/lib/templates/new/run_example_match.rb.tt +1 -1
  41. data/sig/sc2ai.rbs +1361 -23
  42. metadata +7 -7
  43. /data/{lib/docker_build → docker_build}/docker-compose-base-image.yml +0 -0
  44. /data/{lib/docker_build → docker_build}/docker-compose-ladderzip.yml +0 -0
data/sig/sc2ai.rbs CHANGED
@@ -266,6 +266,11 @@ module Sc2
266
266
  # Terminates connection to Sc2 client
267
267
  def disconnect: () -> void
268
268
 
269
+ # Note: Do not document, because ladder players should never quit,
270
+ # but rather #leave_game instead
271
+ # Sends quit command to SC2
272
+ def quit: () -> void
273
+
269
274
  # sord omit - no YARD return type given, using untyped
270
275
  # _@param_ `map`
271
276
  #
@@ -4197,6 +4202,19 @@ module Sc2
4197
4202
  #
4198
4203
  # _@param_ `distance` — The distance to move.
4199
4204
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
4205
+
4206
+ # sord warn - "Array[Float,Float]" does not appear to be a type
4207
+ # Returns [x,y] array tuple
4208
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
4209
+
4210
+ # Returns [x,y] array tuple where floats are cast to ints
4211
+ # Useful when trying to find the tile which something is on
4212
+ #
4213
+ # _@return_ — Array<Integer, Integer>
4214
+ def to_atile: () -> ::Array[(Integer | Integer)]
4215
+
4216
+ # sord omit - no YARD return type given, using untyped
4217
+ def to_s: () -> untyped
4200
4218
  end
4201
4219
  end
4202
4220
 
@@ -6351,6 +6369,14 @@ module Api
6351
6369
  # sord omit - no YARD return type given, using untyped
6352
6370
  def to_h: () -> untyped
6353
6371
 
6372
+ # sord omit - no YARD type given for "options", using untyped
6373
+ # sord omit - no YARD return type given, using untyped
6374
+ def as_json: (?untyped options) -> untyped
6375
+
6376
+ # sord omit - no YARD type given for "as_json_options", using untyped
6377
+ # sord omit - no YARD return type given, using untyped
6378
+ def to_json: (?untyped as_json_options) -> untyped
6379
+
6354
6380
  # sord omit - no YARD type given for :groups, using untyped
6355
6381
  # required field readers
6356
6382
  attr_accessor groups: untyped
@@ -6414,6 +6440,14 @@ module Api
6414
6440
  # sord omit - no YARD return type given, using untyped
6415
6441
  def to_h: () -> untyped
6416
6442
 
6443
+ # sord omit - no YARD type given for "options", using untyped
6444
+ # sord omit - no YARD return type given, using untyped
6445
+ def as_json: (?untyped options) -> untyped
6446
+
6447
+ # sord omit - no YARD type given for "as_json_options", using untyped
6448
+ # sord omit - no YARD return type given, using untyped
6449
+ def to_json: (?untyped as_json_options) -> untyped
6450
+
6417
6451
  # sord omit - no YARD type given for :control_group_index, using untyped
6418
6452
  # optional field readers
6419
6453
  attr_accessor control_group_index: untyped
@@ -6501,6 +6535,14 @@ module Api
6501
6535
  # sord omit - no YARD return type given, using untyped
6502
6536
  def to_h: () -> untyped
6503
6537
 
6538
+ # sord omit - no YARD type given for "options", using untyped
6539
+ # sord omit - no YARD return type given, using untyped
6540
+ def as_json: (?untyped options) -> untyped
6541
+
6542
+ # sord omit - no YARD type given for "as_json_options", using untyped
6543
+ # sord omit - no YARD return type given, using untyped
6544
+ def to_json: (?untyped as_json_options) -> untyped
6545
+
6504
6546
  # sord omit - no YARD type given for :unit_type, using untyped
6505
6547
  # optional field readers
6506
6548
  attr_accessor unit_type: untyped
@@ -6594,6 +6636,14 @@ module Api
6594
6636
  # sord omit - no YARD return type given, using untyped
6595
6637
  def to_h: () -> untyped
6596
6638
 
6639
+ # sord omit - no YARD type given for "options", using untyped
6640
+ # sord omit - no YARD return type given, using untyped
6641
+ def as_json: (?untyped options) -> untyped
6642
+
6643
+ # sord omit - no YARD type given for "as_json_options", using untyped
6644
+ # sord omit - no YARD return type given, using untyped
6645
+ def to_json: (?untyped as_json_options) -> untyped
6646
+
6597
6647
  # sord omit - no YARD type given for :buffs, using untyped
6598
6648
  # required field readers
6599
6649
  attr_accessor buffs: untyped
@@ -6644,6 +6694,14 @@ module Api
6644
6694
  # sord omit - no YARD return type given, using untyped
6645
6695
  def to_h: () -> untyped
6646
6696
 
6697
+ # sord omit - no YARD type given for "options", using untyped
6698
+ # sord omit - no YARD return type given, using untyped
6699
+ def as_json: (?untyped options) -> untyped
6700
+
6701
+ # sord omit - no YARD type given for "as_json_options", using untyped
6702
+ # sord omit - no YARD return type given, using untyped
6703
+ def to_json: (?untyped as_json_options) -> untyped
6704
+
6647
6705
  # sord omit - no YARD type given for :units, using untyped
6648
6706
  # required field readers
6649
6707
  attr_accessor units: untyped
@@ -6685,6 +6743,14 @@ module Api
6685
6743
  # sord omit - no YARD return type given, using untyped
6686
6744
  def to_h: () -> untyped
6687
6745
 
6746
+ # sord omit - no YARD type given for "options", using untyped
6747
+ # sord omit - no YARD return type given, using untyped
6748
+ def as_json: (?untyped options) -> untyped
6749
+
6750
+ # sord omit - no YARD type given for "as_json_options", using untyped
6751
+ # sord omit - no YARD return type given, using untyped
6752
+ def to_json: (?untyped as_json_options) -> untyped
6753
+
6688
6754
  # sord omit - no YARD type given for :passengers, using untyped
6689
6755
  # required field readers
6690
6756
  attr_accessor passengers: untyped
@@ -6736,6 +6802,14 @@ module Api
6736
6802
  # sord omit - no YARD return type given, using untyped
6737
6803
  def to_h: () -> untyped
6738
6804
 
6805
+ # sord omit - no YARD type given for "options", using untyped
6806
+ # sord omit - no YARD return type given, using untyped
6807
+ def as_json: (?untyped options) -> untyped
6808
+
6809
+ # sord omit - no YARD type given for "as_json_options", using untyped
6810
+ # sord omit - no YARD return type given, using untyped
6811
+ def to_json: (?untyped as_json_options) -> untyped
6812
+
6739
6813
  # sord omit - no YARD type given for :ability_id, using untyped
6740
6814
  # optional field readers
6741
6815
  attr_accessor ability_id: untyped
@@ -6779,6 +6853,14 @@ module Api
6779
6853
  # sord omit - no YARD return type given, using untyped
6780
6854
  def to_h: () -> untyped
6781
6855
 
6856
+ # sord omit - no YARD type given for "options", using untyped
6857
+ # sord omit - no YARD return type given, using untyped
6858
+ def as_json: (?untyped options) -> untyped
6859
+
6860
+ # sord omit - no YARD type given for "as_json_options", using untyped
6861
+ # sord omit - no YARD return type given, using untyped
6862
+ def to_json: (?untyped as_json_options) -> untyped
6863
+
6782
6864
  # sord omit - no YARD type given for :build_queue, using untyped
6783
6865
  # required field readers
6784
6866
  attr_accessor build_queue: untyped
@@ -6840,6 +6922,14 @@ module Api
6840
6922
  # sord omit - no YARD return type given, using untyped
6841
6923
  def to_h: () -> untyped
6842
6924
 
6925
+ # sord omit - no YARD type given for "options", using untyped
6926
+ # sord omit - no YARD return type given, using untyped
6927
+ def as_json: (?untyped options) -> untyped
6928
+
6929
+ # sord omit - no YARD type given for "as_json_options", using untyped
6930
+ # sord omit - no YARD return type given, using untyped
6931
+ def to_json: (?untyped as_json_options) -> untyped
6932
+
6843
6933
  # sord omit - no YARD type given for :action, using untyped
6844
6934
  # oneof field readers
6845
6935
  attr_reader action: untyped
@@ -6908,6 +6998,8 @@ module Api
6908
6998
  # sord omit - no YARD return type given, using untyped
6909
6999
  def to_proto: (?untyped _options) -> untyped
6910
7000
 
7001
+ def has_action?: () -> bool
7002
+
6911
7003
  def has_control_group_index?: () -> bool
6912
7004
 
6913
7005
  # sord omit - no YARD type given for "buff", using untyped
@@ -6923,6 +7015,14 @@ module Api
6923
7015
  # sord omit - no YARD return type given, using untyped
6924
7016
  def to_h: () -> untyped
6925
7017
 
7018
+ # sord omit - no YARD type given for "options", using untyped
7019
+ # sord omit - no YARD return type given, using untyped
7020
+ def as_json: (?untyped options) -> untyped
7021
+
7022
+ # sord omit - no YARD type given for "as_json_options", using untyped
7023
+ # sord omit - no YARD return type given, using untyped
7024
+ def to_json: (?untyped as_json_options) -> untyped
7025
+
6926
7026
  # sord omit - no YARD type given for :control_group_index, using untyped
6927
7027
  # optional field readers
6928
7028
  attr_accessor control_group_index: untyped
@@ -6977,6 +7077,14 @@ module Api
6977
7077
  # sord omit - no YARD return type given, using untyped
6978
7078
  def to_h: () -> untyped
6979
7079
 
7080
+ # sord omit - no YARD type given for "options", using untyped
7081
+ # sord omit - no YARD return type given, using untyped
7082
+ def as_json: (?untyped options) -> untyped
7083
+
7084
+ # sord omit - no YARD type given for "as_json_options", using untyped
7085
+ # sord omit - no YARD return type given, using untyped
7086
+ def to_json: (?untyped as_json_options) -> untyped
7087
+
6980
7088
  # sord omit - no YARD type given for :selection_add, using untyped
6981
7089
  # optional field readers
6982
7090
  attr_accessor selection_add: untyped
@@ -7014,6 +7122,14 @@ module Api
7014
7122
  # sord omit - no YARD return type given, using untyped
7015
7123
  def to_h: () -> untyped
7016
7124
 
7125
+ # sord omit - no YARD type given for "options", using untyped
7126
+ # sord omit - no YARD return type given, using untyped
7127
+ def as_json: (?untyped options) -> untyped
7128
+
7129
+ # sord omit - no YARD type given for "as_json_options", using untyped
7130
+ # sord omit - no YARD return type given, using untyped
7131
+ def to_json: (?untyped as_json_options) -> untyped
7132
+
7017
7133
  # sord omit - no YARD type given for :selection_add, using untyped
7018
7134
  # optional field readers
7019
7135
  attr_accessor selection_add: untyped
@@ -7047,6 +7163,14 @@ module Api
7047
7163
 
7048
7164
  # sord omit - no YARD return type given, using untyped
7049
7165
  def to_h: () -> untyped
7166
+
7167
+ # sord omit - no YARD type given for "options", using untyped
7168
+ # sord omit - no YARD return type given, using untyped
7169
+ def as_json: (?untyped options) -> untyped
7170
+
7171
+ # sord omit - no YARD type given for "as_json_options", using untyped
7172
+ # sord omit - no YARD return type given, using untyped
7173
+ def to_json: (?untyped as_json_options) -> untyped
7050
7174
  end
7051
7175
 
7052
7176
  class ActionSelectIdleWorker
@@ -7074,6 +7198,8 @@ module Api
7074
7198
  # sord omit - no YARD return type given, using untyped
7075
7199
  def to_proto: (?untyped _options) -> untyped
7076
7200
 
7201
+ def has_type?: () -> bool
7202
+
7077
7203
  # sord omit - no YARD type given for "buff", using untyped
7078
7204
  # sord omit - no YARD type given for "index", using untyped
7079
7205
  # sord omit - no YARD type given for "len", using untyped
@@ -7087,6 +7213,14 @@ module Api
7087
7213
  # sord omit - no YARD return type given, using untyped
7088
7214
  def to_h: () -> untyped
7089
7215
 
7216
+ # sord omit - no YARD type given for "options", using untyped
7217
+ # sord omit - no YARD return type given, using untyped
7218
+ def as_json: (?untyped options) -> untyped
7219
+
7220
+ # sord omit - no YARD type given for "as_json_options", using untyped
7221
+ # sord omit - no YARD return type given, using untyped
7222
+ def to_json: (?untyped as_json_options) -> untyped
7223
+
7090
7224
  module Type
7091
7225
  ENUM_ACTION_SELECT_IDLE_WORKER_TYPE_UNSET: untyped
7092
7226
  SET: untyped
@@ -7131,6 +7265,8 @@ module Api
7131
7265
  # sord omit - no YARD return type given, using untyped
7132
7266
  def to_proto: (?untyped _options) -> untyped
7133
7267
 
7268
+ def has_type?: () -> bool
7269
+
7134
7270
  def has_unit_index?: () -> bool
7135
7271
 
7136
7272
  # sord omit - no YARD type given for "buff", using untyped
@@ -7146,6 +7282,14 @@ module Api
7146
7282
  # sord omit - no YARD return type given, using untyped
7147
7283
  def to_h: () -> untyped
7148
7284
 
7285
+ # sord omit - no YARD type given for "options", using untyped
7286
+ # sord omit - no YARD return type given, using untyped
7287
+ def as_json: (?untyped options) -> untyped
7288
+
7289
+ # sord omit - no YARD type given for "as_json_options", using untyped
7290
+ # sord omit - no YARD return type given, using untyped
7291
+ def to_json: (?untyped as_json_options) -> untyped
7292
+
7149
7293
  # sord omit - no YARD type given for :unit_index, using untyped
7150
7294
  # optional field readers
7151
7295
  attr_accessor unit_index: untyped
@@ -7199,6 +7343,14 @@ module Api
7199
7343
  # sord omit - no YARD return type given, using untyped
7200
7344
  def to_h: () -> untyped
7201
7345
 
7346
+ # sord omit - no YARD type given for "options", using untyped
7347
+ # sord omit - no YARD return type given, using untyped
7348
+ def as_json: (?untyped options) -> untyped
7349
+
7350
+ # sord omit - no YARD type given for "as_json_options", using untyped
7351
+ # sord omit - no YARD return type given, using untyped
7352
+ def to_json: (?untyped as_json_options) -> untyped
7353
+
7202
7354
  # sord omit - no YARD type given for :unit_index, using untyped
7203
7355
  # optional field readers
7204
7356
  attr_accessor unit_index: untyped
@@ -7236,6 +7388,14 @@ module Api
7236
7388
  # sord omit - no YARD return type given, using untyped
7237
7389
  def to_h: () -> untyped
7238
7390
 
7391
+ # sord omit - no YARD type given for "options", using untyped
7392
+ # sord omit - no YARD return type given, using untyped
7393
+ def as_json: (?untyped options) -> untyped
7394
+
7395
+ # sord omit - no YARD type given for "as_json_options", using untyped
7396
+ # sord omit - no YARD return type given, using untyped
7397
+ def to_json: (?untyped as_json_options) -> untyped
7398
+
7239
7399
  # sord omit - no YARD type given for :unit_index, using untyped
7240
7400
  # optional field readers
7241
7401
  attr_accessor unit_index: untyped
@@ -7276,6 +7436,14 @@ module Api
7276
7436
  # sord omit - no YARD return type given, using untyped
7277
7437
  def to_h: () -> untyped
7278
7438
 
7439
+ # sord omit - no YARD type given for "options", using untyped
7440
+ # sord omit - no YARD return type given, using untyped
7441
+ def as_json: (?untyped options) -> untyped
7442
+
7443
+ # sord omit - no YARD type given for "as_json_options", using untyped
7444
+ # sord omit - no YARD return type given, using untyped
7445
+ def to_json: (?untyped as_json_options) -> untyped
7446
+
7279
7447
  # sord omit - no YARD type given for :ability_id, using untyped
7280
7448
  # optional field readers
7281
7449
  attr_accessor ability_id: untyped
@@ -7381,6 +7549,14 @@ module Api
7381
7549
  # sord omit - no YARD return type given, using untyped
7382
7550
  def to_h: () -> untyped
7383
7551
 
7552
+ # sord omit - no YARD type given for "options", using untyped
7553
+ # sord omit - no YARD return type given, using untyped
7554
+ def as_json: (?untyped options) -> untyped
7555
+
7556
+ # sord omit - no YARD type given for "as_json_options", using untyped
7557
+ # sord omit - no YARD return type given, using untyped
7558
+ def to_json: (?untyped as_json_options) -> untyped
7559
+
7384
7560
  # sord omit - no YARD type given for :start_locations, using untyped
7385
7561
  # required field readers
7386
7562
  attr_accessor start_locations: untyped
@@ -7454,6 +7630,14 @@ module Api
7454
7630
  # sord omit - no YARD return type given, using untyped
7455
7631
  def to_h: () -> untyped
7456
7632
 
7633
+ # sord omit - no YARD type given for "options", using untyped
7634
+ # sord omit - no YARD return type given, using untyped
7635
+ def as_json: (?untyped options) -> untyped
7636
+
7637
+ # sord omit - no YARD type given for "as_json_options", using untyped
7638
+ # sord omit - no YARD return type given, using untyped
7639
+ def to_json: (?untyped as_json_options) -> untyped
7640
+
7457
7641
  # sord omit - no YARD type given for :units, using untyped
7458
7642
  # required field readers
7459
7643
  attr_accessor units: untyped
@@ -7514,6 +7698,14 @@ module Api
7514
7698
  # sord omit - no YARD return type given, using untyped
7515
7699
  def to_h: () -> untyped
7516
7700
 
7701
+ # sord omit - no YARD type given for "options", using untyped
7702
+ # sord omit - no YARD return type given, using untyped
7703
+ def as_json: (?untyped options) -> untyped
7704
+
7705
+ # sord omit - no YARD type given for "as_json_options", using untyped
7706
+ # sord omit - no YARD return type given, using untyped
7707
+ def to_json: (?untyped as_json_options) -> untyped
7708
+
7517
7709
  # sord omit - no YARD type given for :pos, using untyped
7518
7710
  # optional field readers
7519
7711
  attr_accessor pos: untyped
@@ -7565,6 +7757,14 @@ module Api
7565
7757
  # sord omit - no YARD return type given, using untyped
7566
7758
  def to_h: () -> untyped
7567
7759
 
7760
+ # sord omit - no YARD type given for "options", using untyped
7761
+ # sord omit - no YARD return type given, using untyped
7762
+ def as_json: (?untyped options) -> untyped
7763
+
7764
+ # sord omit - no YARD type given for "as_json_options", using untyped
7765
+ # sord omit - no YARD return type given, using untyped
7766
+ def to_json: (?untyped as_json_options) -> untyped
7767
+
7568
7768
  # Shorthand for creating an instance for [x, y, z]
7569
7769
  #
7570
7770
  # _@param_ `x`
@@ -7702,6 +7902,19 @@ module Api
7702
7902
  # _@param_ `distance` — The distance to move.
7703
7903
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
7704
7904
 
7905
+ # sord warn - "Array[Float,Float]" does not appear to be a type
7906
+ # Returns [x,y] array tuple
7907
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
7908
+
7909
+ # Returns [x,y] array tuple where floats are cast to ints
7910
+ # Useful when trying to find the tile which something is on
7911
+ #
7912
+ # _@return_ — Array<Integer, Integer>
7913
+ def to_atile: () -> ::Array[(Integer | Integer)]
7914
+
7915
+ # sord omit - no YARD return type given, using untyped
7916
+ def to_s: () -> untyped
7917
+
7705
7918
  # sord omit - no YARD type given for :pos, using untyped
7706
7919
  # optional field readers
7707
7920
  attr_accessor pos: untyped
@@ -7749,6 +7962,14 @@ module Api
7749
7962
  # sord omit - no YARD return type given, using untyped
7750
7963
  def to_h: () -> untyped
7751
7964
 
7965
+ # sord omit - no YARD type given for "options", using untyped
7966
+ # sord omit - no YARD return type given, using untyped
7967
+ def as_json: (?untyped options) -> untyped
7968
+
7969
+ # sord omit - no YARD type given for "as_json_options", using untyped
7970
+ # sord omit - no YARD return type given, using untyped
7971
+ def to_json: (?untyped as_json_options) -> untyped
7972
+
7752
7973
  # sord omit - no YARD type given for :power_sources, using untyped
7753
7974
  # required field readers
7754
7975
  attr_accessor power_sources: untyped
@@ -7807,6 +8028,14 @@ module Api
7807
8028
  # sord omit - no YARD return type given, using untyped
7808
8029
  def to_h: () -> untyped
7809
8030
 
8031
+ # sord omit - no YARD type given for "options", using untyped
8032
+ # sord omit - no YARD return type given, using untyped
8033
+ def as_json: (?untyped options) -> untyped
8034
+
8035
+ # sord omit - no YARD type given for "as_json_options", using untyped
8036
+ # sord omit - no YARD return type given, using untyped
8037
+ def to_json: (?untyped as_json_options) -> untyped
8038
+
7810
8039
  # sord omit - no YARD type given for :ability_id, using untyped
7811
8040
  # optional field readers
7812
8041
  attr_accessor ability_id: untyped
@@ -7890,6 +8119,14 @@ module Api
7890
8119
  # sord omit - no YARD return type given, using untyped
7891
8120
  def to_h: () -> untyped
7892
8121
 
8122
+ # sord omit - no YARD type given for "options", using untyped
8123
+ # sord omit - no YARD return type given, using untyped
8124
+ def as_json: (?untyped options) -> untyped
8125
+
8126
+ # sord omit - no YARD type given for "as_json_options", using untyped
8127
+ # sord omit - no YARD return type given, using untyped
8128
+ def to_json: (?untyped as_json_options) -> untyped
8129
+
7893
8130
  # sord omit - no YARD type given for :tag, using untyped
7894
8131
  # optional field readers
7895
8132
  attr_accessor tag: untyped
@@ -7958,6 +8195,14 @@ module Api
7958
8195
  # sord omit - no YARD return type given, using untyped
7959
8196
  def to_h: () -> untyped
7960
8197
 
8198
+ # sord omit - no YARD type given for "options", using untyped
8199
+ # sord omit - no YARD return type given, using untyped
8200
+ def as_json: (?untyped options) -> untyped
8201
+
8202
+ # sord omit - no YARD type given for "as_json_options", using untyped
8203
+ # sord omit - no YARD return type given, using untyped
8204
+ def to_json: (?untyped as_json_options) -> untyped
8205
+
7961
8206
  # sord omit - no YARD type given for :point, using untyped
7962
8207
  # optional field readers
7963
8208
  attr_accessor point: untyped
@@ -8098,6 +8343,10 @@ module Api
8098
8343
  # sord omit - no YARD return type given, using untyped
8099
8344
  def to_proto: (?untyped _options) -> untyped
8100
8345
 
8346
+ def has_display_type?: () -> bool
8347
+
8348
+ def has_alliance?: () -> bool
8349
+
8101
8350
  def has_tag?: () -> bool
8102
8351
 
8103
8352
  def has_unit_type?: () -> bool
@@ -8112,6 +8361,8 @@ module Api
8112
8361
 
8113
8362
  def has_build_progress?: () -> bool
8114
8363
 
8364
+ def has_cloak?: () -> bool
8365
+
8115
8366
  def has_detect_range?: () -> bool
8116
8367
 
8117
8368
  def has_radar_range?: () -> bool
@@ -8185,6 +8436,14 @@ module Api
8185
8436
  # sord omit - no YARD return type given, using untyped
8186
8437
  def to_h: () -> untyped
8187
8438
 
8439
+ # sord omit - no YARD type given for "options", using untyped
8440
+ # sord omit - no YARD return type given, using untyped
8441
+ def as_json: (?untyped options) -> untyped
8442
+
8443
+ # sord omit - no YARD type given for "as_json_options", using untyped
8444
+ # sord omit - no YARD return type given, using untyped
8445
+ def to_json: (?untyped as_json_options) -> untyped
8446
+
8188
8447
  # sord omit - no YARD return type given, using untyped
8189
8448
  def hash: () -> untyped
8190
8449
 
@@ -8740,6 +8999,14 @@ module Api
8740
8999
  # sord omit - no YARD return type given, using untyped
8741
9000
  def to_h: () -> untyped
8742
9001
 
9002
+ # sord omit - no YARD type given for "options", using untyped
9003
+ # sord omit - no YARD return type given, using untyped
9004
+ def as_json: (?untyped options) -> untyped
9005
+
9006
+ # sord omit - no YARD type given for "as_json_options", using untyped
9007
+ # sord omit - no YARD return type given, using untyped
9008
+ def to_json: (?untyped as_json_options) -> untyped
9009
+
8743
9010
  # sord omit - no YARD type given for :visibility, using untyped
8744
9011
  # optional field readers
8745
9012
  attr_accessor visibility: untyped
@@ -8778,6 +9045,14 @@ module Api
8778
9045
  # sord omit - no YARD return type given, using untyped
8779
9046
  def to_h: () -> untyped
8780
9047
 
9048
+ # sord omit - no YARD type given for "options", using untyped
9049
+ # sord omit - no YARD return type given, using untyped
9050
+ def as_json: (?untyped options) -> untyped
9051
+
9052
+ # sord omit - no YARD type given for "as_json_options", using untyped
9053
+ # sord omit - no YARD return type given, using untyped
9054
+ def to_json: (?untyped as_json_options) -> untyped
9055
+
8781
9056
  # sord omit - no YARD type given for :dead_units, using untyped
8782
9057
  # required field readers
8783
9058
  attr_accessor dead_units: untyped
@@ -8821,6 +9096,8 @@ module Api
8821
9096
 
8822
9097
  def has_effect_id?: () -> bool
8823
9098
 
9099
+ def has_alliance?: () -> bool
9100
+
8824
9101
  def has_owner?: () -> bool
8825
9102
 
8826
9103
  def has_radius?: () -> bool
@@ -8838,6 +9115,14 @@ module Api
8838
9115
  # sord omit - no YARD return type given, using untyped
8839
9116
  def to_h: () -> untyped
8840
9117
 
9118
+ # sord omit - no YARD type given for "options", using untyped
9119
+ # sord omit - no YARD return type given, using untyped
9120
+ def as_json: (?untyped options) -> untyped
9121
+
9122
+ # sord omit - no YARD type given for "as_json_options", using untyped
9123
+ # sord omit - no YARD return type given, using untyped
9124
+ def to_json: (?untyped as_json_options) -> untyped
9125
+
8841
9126
  # sord omit - no YARD type given for :pos, using untyped
8842
9127
  # required field readers
8843
9128
  attr_accessor pos: untyped
@@ -8887,6 +9172,14 @@ module Api
8887
9172
  # sord omit - no YARD return type given, using untyped
8888
9173
  def to_h: () -> untyped
8889
9174
 
9175
+ # sord omit - no YARD type given for "options", using untyped
9176
+ # sord omit - no YARD return type given, using untyped
9177
+ def as_json: (?untyped options) -> untyped
9178
+
9179
+ # sord omit - no YARD type given for "as_json_options", using untyped
9180
+ # sord omit - no YARD return type given, using untyped
9181
+ def to_json: (?untyped as_json_options) -> untyped
9182
+
8890
9183
  # sord omit - no YARD type given for :action, using untyped
8891
9184
  # oneof field readers
8892
9185
  attr_reader action: untyped
@@ -8951,6 +9244,14 @@ module Api
8951
9244
  # sord omit - no YARD return type given, using untyped
8952
9245
  def to_h: () -> untyped
8953
9246
 
9247
+ # sord omit - no YARD type given for "options", using untyped
9248
+ # sord omit - no YARD return type given, using untyped
9249
+ def as_json: (?untyped options) -> untyped
9250
+
9251
+ # sord omit - no YARD type given for "as_json_options", using untyped
9252
+ # sord omit - no YARD return type given, using untyped
9253
+ def to_json: (?untyped as_json_options) -> untyped
9254
+
8954
9255
  # sord omit - no YARD type given for :unit_tags, using untyped
8955
9256
  # required field readers
8956
9257
  attr_accessor unit_tags: untyped
@@ -9008,6 +9309,14 @@ module Api
9008
9309
  # sord omit - no YARD return type given, using untyped
9009
9310
  def to_h: () -> untyped
9010
9311
 
9312
+ # sord omit - no YARD type given for "options", using untyped
9313
+ # sord omit - no YARD return type given, using untyped
9314
+ def as_json: (?untyped options) -> untyped
9315
+
9316
+ # sord omit - no YARD type given for "as_json_options", using untyped
9317
+ # sord omit - no YARD return type given, using untyped
9318
+ def to_json: (?untyped as_json_options) -> untyped
9319
+
9011
9320
  # sord omit - no YARD type given for :center_world_space, using untyped
9012
9321
  # optional field readers
9013
9322
  attr_accessor center_world_space: untyped
@@ -9049,6 +9358,14 @@ module Api
9049
9358
  # sord omit - no YARD return type given, using untyped
9050
9359
  def to_h: () -> untyped
9051
9360
 
9361
+ # sord omit - no YARD type given for "options", using untyped
9362
+ # sord omit - no YARD return type given, using untyped
9363
+ def as_json: (?untyped options) -> untyped
9364
+
9365
+ # sord omit - no YARD type given for "as_json_options", using untyped
9366
+ # sord omit - no YARD return type given, using untyped
9367
+ def to_json: (?untyped as_json_options) -> untyped
9368
+
9052
9369
  # sord omit - no YARD type given for :unit_tags, using untyped
9053
9370
  # required field readers
9054
9371
  attr_accessor unit_tags: untyped
@@ -11184,6 +11501,8 @@ module Api
11184
11501
 
11185
11502
  def has_available?: () -> bool
11186
11503
 
11504
+ def has_target?: () -> bool
11505
+
11187
11506
  def has_allow_minimap?: () -> bool
11188
11507
 
11189
11508
  def has_allow_autocast?: () -> bool
@@ -11209,6 +11528,14 @@ module Api
11209
11528
  # sord omit - no YARD return type given, using untyped
11210
11529
  def to_h: () -> untyped
11211
11530
 
11531
+ # sord omit - no YARD type given for "options", using untyped
11532
+ # sord omit - no YARD return type given, using untyped
11533
+ def as_json: (?untyped options) -> untyped
11534
+
11535
+ # sord omit - no YARD type given for "as_json_options", using untyped
11536
+ # sord omit - no YARD return type given, using untyped
11537
+ def to_json: (?untyped as_json_options) -> untyped
11538
+
11212
11539
  # sord omit - no YARD type given for :ability_id, using untyped
11213
11540
  # optional field readers
11214
11541
  attr_accessor ability_id: untyped
@@ -11310,6 +11637,8 @@ module Api
11310
11637
  # sord omit - no YARD return type given, using untyped
11311
11638
  def to_proto: (?untyped _options) -> untyped
11312
11639
 
11640
+ def has_attribute?: () -> bool
11641
+
11313
11642
  def has_bonus?: () -> bool
11314
11643
 
11315
11644
  # sord omit - no YARD type given for "buff", using untyped
@@ -11325,6 +11654,14 @@ module Api
11325
11654
  # sord omit - no YARD return type given, using untyped
11326
11655
  def to_h: () -> untyped
11327
11656
 
11657
+ # sord omit - no YARD type given for "options", using untyped
11658
+ # sord omit - no YARD return type given, using untyped
11659
+ def as_json: (?untyped options) -> untyped
11660
+
11661
+ # sord omit - no YARD type given for "as_json_options", using untyped
11662
+ # sord omit - no YARD return type given, using untyped
11663
+ def to_json: (?untyped as_json_options) -> untyped
11664
+
11328
11665
  # sord omit - no YARD type given for :bonus, using untyped
11329
11666
  # optional field readers
11330
11667
  attr_accessor bonus: untyped
@@ -11368,6 +11705,8 @@ module Api
11368
11705
  # sord omit - no YARD return type given, using untyped
11369
11706
  def to_proto: (?untyped _options) -> untyped
11370
11707
 
11708
+ def has_type?: () -> bool
11709
+
11371
11710
  def has_damage?: () -> bool
11372
11711
 
11373
11712
  def has_attacks?: () -> bool
@@ -11389,6 +11728,14 @@ module Api
11389
11728
  # sord omit - no YARD return type given, using untyped
11390
11729
  def to_h: () -> untyped
11391
11730
 
11731
+ # sord omit - no YARD type given for "options", using untyped
11732
+ # sord omit - no YARD return type given, using untyped
11733
+ def as_json: (?untyped options) -> untyped
11734
+
11735
+ # sord omit - no YARD type given for "as_json_options", using untyped
11736
+ # sord omit - no YARD return type given, using untyped
11737
+ def to_json: (?untyped as_json_options) -> untyped
11738
+
11392
11739
  # sord omit - no YARD type given for :damage_bonus, using untyped
11393
11740
  # required field readers
11394
11741
  attr_accessor damage_bonus: untyped
@@ -11523,6 +11870,8 @@ module Api
11523
11870
 
11524
11871
  def has_ability_id?: () -> bool
11525
11872
 
11873
+ def has_race?: () -> bool
11874
+
11526
11875
  def has_build_time?: () -> bool
11527
11876
 
11528
11877
  def has_has_vespene?: () -> bool
@@ -11554,6 +11903,14 @@ module Api
11554
11903
  # sord omit - no YARD return type given, using untyped
11555
11904
  def to_h: () -> untyped
11556
11905
 
11906
+ # sord omit - no YARD type given for "options", using untyped
11907
+ # sord omit - no YARD return type given, using untyped
11908
+ def as_json: (?untyped options) -> untyped
11909
+
11910
+ # sord omit - no YARD type given for "as_json_options", using untyped
11911
+ # sord omit - no YARD return type given, using untyped
11912
+ def to_json: (?untyped as_json_options) -> untyped
11913
+
11557
11914
  # sord omit - no YARD type given for :tech_alias, using untyped
11558
11915
  # required field readers
11559
11916
  attr_accessor tech_alias: untyped
@@ -11689,6 +12046,14 @@ module Api
11689
12046
  # sord omit - no YARD return type given, using untyped
11690
12047
  def to_h: () -> untyped
11691
12048
 
12049
+ # sord omit - no YARD type given for "options", using untyped
12050
+ # sord omit - no YARD return type given, using untyped
12051
+ def as_json: (?untyped options) -> untyped
12052
+
12053
+ # sord omit - no YARD type given for "as_json_options", using untyped
12054
+ # sord omit - no YARD return type given, using untyped
12055
+ def to_json: (?untyped as_json_options) -> untyped
12056
+
11692
12057
  # sord omit - no YARD type given for :upgrade_id, using untyped
11693
12058
  # optional field readers
11694
12059
  attr_accessor upgrade_id: untyped
@@ -11749,6 +12114,14 @@ module Api
11749
12114
  # sord omit - no YARD return type given, using untyped
11750
12115
  def to_h: () -> untyped
11751
12116
 
12117
+ # sord omit - no YARD type given for "options", using untyped
12118
+ # sord omit - no YARD return type given, using untyped
12119
+ def as_json: (?untyped options) -> untyped
12120
+
12121
+ # sord omit - no YARD type given for "as_json_options", using untyped
12122
+ # sord omit - no YARD return type given, using untyped
12123
+ def to_json: (?untyped as_json_options) -> untyped
12124
+
11752
12125
  # sord omit - no YARD type given for :buff_id, using untyped
11753
12126
  # optional field readers
11754
12127
  attr_accessor buff_id: untyped
@@ -11804,6 +12177,14 @@ module Api
11804
12177
  # sord omit - no YARD return type given, using untyped
11805
12178
  def to_h: () -> untyped
11806
12179
 
12180
+ # sord omit - no YARD type given for "options", using untyped
12181
+ # sord omit - no YARD return type given, using untyped
12182
+ def as_json: (?untyped options) -> untyped
12183
+
12184
+ # sord omit - no YARD type given for "as_json_options", using untyped
12185
+ # sord omit - no YARD return type given, using untyped
12186
+ def to_json: (?untyped as_json_options) -> untyped
12187
+
11807
12188
  # sord omit - no YARD type given for :effect_id, using untyped
11808
12189
  # optional field readers
11809
12190
  attr_accessor effect_id: untyped
@@ -11891,6 +12272,14 @@ module Api
11891
12272
  # sord omit - no YARD return type given, using untyped
11892
12273
  def to_h: () -> untyped
11893
12274
 
12275
+ # sord omit - no YARD type given for "options", using untyped
12276
+ # sord omit - no YARD return type given, using untyped
12277
+ def as_json: (?untyped options) -> untyped
12278
+
12279
+ # sord omit - no YARD type given for "as_json_options", using untyped
12280
+ # sord omit - no YARD return type given, using untyped
12281
+ def to_json: (?untyped as_json_options) -> untyped
12282
+
11894
12283
  # sord omit - no YARD type given for :command, using untyped
11895
12284
  # oneof field readers
11896
12285
  attr_reader command: untyped
@@ -11965,6 +12354,14 @@ module Api
11965
12354
  # sord omit - no YARD return type given, using untyped
11966
12355
  def to_h: () -> untyped
11967
12356
 
12357
+ # sord omit - no YARD type given for "options", using untyped
12358
+ # sord omit - no YARD return type given, using untyped
12359
+ def as_json: (?untyped options) -> untyped
12360
+
12361
+ # sord omit - no YARD type given for "as_json_options", using untyped
12362
+ # sord omit - no YARD return type given, using untyped
12363
+ def to_json: (?untyped as_json_options) -> untyped
12364
+
11968
12365
  # sord omit - no YARD type given for :text, using untyped
11969
12366
  # required field readers
11970
12367
  attr_accessor text: untyped
@@ -12017,6 +12414,14 @@ module Api
12017
12414
  # sord omit - no YARD return type given, using untyped
12018
12415
  def to_h: () -> untyped
12019
12416
 
12417
+ # sord omit - no YARD type given for "options", using untyped
12418
+ # sord omit - no YARD return type given, using untyped
12419
+ def as_json: (?untyped options) -> untyped
12420
+
12421
+ # sord omit - no YARD type given for "as_json_options", using untyped
12422
+ # sord omit - no YARD return type given, using untyped
12423
+ def to_json: (?untyped as_json_options) -> untyped
12424
+
12020
12425
  # sord omit - no YARD type given for :p0, using untyped
12021
12426
  # optional field readers
12022
12427
  attr_accessor p0: untyped
@@ -12068,6 +12473,14 @@ module Api
12068
12473
  # sord omit - no YARD return type given, using untyped
12069
12474
  def to_h: () -> untyped
12070
12475
 
12476
+ # sord omit - no YARD type given for "options", using untyped
12477
+ # sord omit - no YARD return type given, using untyped
12478
+ def as_json: (?untyped options) -> untyped
12479
+
12480
+ # sord omit - no YARD type given for "as_json_options", using untyped
12481
+ # sord omit - no YARD return type given, using untyped
12482
+ def to_json: (?untyped as_json_options) -> untyped
12483
+
12071
12484
  # Creates a new Api::Color object with random rgb values
12072
12485
  #
12073
12486
  # _@return_ — random color
@@ -12136,6 +12549,14 @@ module Api
12136
12549
  # sord omit - no YARD return type given, using untyped
12137
12550
  def to_h: () -> untyped
12138
12551
 
12552
+ # sord omit - no YARD type given for "options", using untyped
12553
+ # sord omit - no YARD return type given, using untyped
12554
+ def as_json: (?untyped options) -> untyped
12555
+
12556
+ # sord omit - no YARD type given for "as_json_options", using untyped
12557
+ # sord omit - no YARD return type given, using untyped
12558
+ def to_json: (?untyped as_json_options) -> untyped
12559
+
12139
12560
  # sord omit - no YARD type given for :color, using untyped
12140
12561
  # optional field readers
12141
12562
  attr_accessor color: untyped
@@ -12192,6 +12613,14 @@ module Api
12192
12613
  # sord omit - no YARD return type given, using untyped
12193
12614
  def to_h: () -> untyped
12194
12615
 
12616
+ # sord omit - no YARD type given for "options", using untyped
12617
+ # sord omit - no YARD return type given, using untyped
12618
+ def as_json: (?untyped options) -> untyped
12619
+
12620
+ # sord omit - no YARD type given for "as_json_options", using untyped
12621
+ # sord omit - no YARD return type given, using untyped
12622
+ def to_json: (?untyped as_json_options) -> untyped
12623
+
12195
12624
  # sord omit - no YARD type given for :color, using untyped
12196
12625
  # optional field readers
12197
12626
  attr_accessor color: untyped
@@ -12239,6 +12668,14 @@ module Api
12239
12668
  # sord omit - no YARD return type given, using untyped
12240
12669
  def to_h: () -> untyped
12241
12670
 
12671
+ # sord omit - no YARD type given for "options", using untyped
12672
+ # sord omit - no YARD return type given, using untyped
12673
+ def as_json: (?untyped options) -> untyped
12674
+
12675
+ # sord omit - no YARD type given for "as_json_options", using untyped
12676
+ # sord omit - no YARD return type given, using untyped
12677
+ def to_json: (?untyped as_json_options) -> untyped
12678
+
12242
12679
  # sord omit - no YARD type given for :color, using untyped
12243
12680
  # optional field readers
12244
12681
  attr_accessor color: untyped
@@ -12290,6 +12727,14 @@ module Api
12290
12727
  # sord omit - no YARD return type given, using untyped
12291
12728
  def to_h: () -> untyped
12292
12729
 
12730
+ # sord omit - no YARD type given for "options", using untyped
12731
+ # sord omit - no YARD return type given, using untyped
12732
+ def as_json: (?untyped options) -> untyped
12733
+
12734
+ # sord omit - no YARD type given for "as_json_options", using untyped
12735
+ # sord omit - no YARD return type given, using untyped
12736
+ def to_json: (?untyped as_json_options) -> untyped
12737
+
12293
12738
  # sord omit - no YARD type given for :color, using untyped
12294
12739
  # optional field readers
12295
12740
  attr_accessor color: untyped
@@ -12349,6 +12794,14 @@ module Api
12349
12794
  # sord omit - no YARD return type given, using untyped
12350
12795
  def to_h: () -> untyped
12351
12796
 
12797
+ # sord omit - no YARD type given for "options", using untyped
12798
+ # sord omit - no YARD return type given, using untyped
12799
+ def as_json: (?untyped options) -> untyped
12800
+
12801
+ # sord omit - no YARD type given for "as_json_options", using untyped
12802
+ # sord omit - no YARD return type given, using untyped
12803
+ def to_json: (?untyped as_json_options) -> untyped
12804
+
12352
12805
  # sord omit - no YARD type given for :unit_type, using untyped
12353
12806
  # optional field readers
12354
12807
  attr_accessor unit_type: untyped
@@ -12395,6 +12848,14 @@ module Api
12395
12848
  # sord omit - no YARD return type given, using untyped
12396
12849
  def to_h: () -> untyped
12397
12850
 
12851
+ # sord omit - no YARD type given for "options", using untyped
12852
+ # sord omit - no YARD return type given, using untyped
12853
+ def as_json: (?untyped options) -> untyped
12854
+
12855
+ # sord omit - no YARD type given for "as_json_options", using untyped
12856
+ # sord omit - no YARD return type given, using untyped
12857
+ def to_json: (?untyped as_json_options) -> untyped
12858
+
12398
12859
  # sord omit - no YARD type given for :tag, using untyped
12399
12860
  # required field readers
12400
12861
  attr_accessor tag: untyped
@@ -12427,6 +12888,8 @@ module Api
12427
12888
  # sord omit - no YARD return type given, using untyped
12428
12889
  def to_proto: (?untyped _options) -> untyped
12429
12890
 
12891
+ def has_test?: () -> bool
12892
+
12430
12893
  def has_delay_ms?: () -> bool
12431
12894
 
12432
12895
  # sord omit - no YARD type given for "buff", using untyped
@@ -12442,6 +12905,14 @@ module Api
12442
12905
  # sord omit - no YARD return type given, using untyped
12443
12906
  def to_h: () -> untyped
12444
12907
 
12908
+ # sord omit - no YARD type given for "options", using untyped
12909
+ # sord omit - no YARD return type given, using untyped
12910
+ def as_json: (?untyped options) -> untyped
12911
+
12912
+ # sord omit - no YARD type given for "as_json_options", using untyped
12913
+ # sord omit - no YARD return type given, using untyped
12914
+ def to_json: (?untyped as_json_options) -> untyped
12915
+
12445
12916
  # sord omit - no YARD type given for :delay_ms, using untyped
12446
12917
  # optional field readers
12447
12918
  attr_accessor delay_ms: untyped
@@ -12494,6 +12965,14 @@ module Api
12494
12965
  # sord omit - no YARD return type given, using untyped
12495
12966
  def to_h: () -> untyped
12496
12967
 
12968
+ # sord omit - no YARD type given for "options", using untyped
12969
+ # sord omit - no YARD return type given, using untyped
12970
+ def as_json: (?untyped options) -> untyped
12971
+
12972
+ # sord omit - no YARD type given for "as_json_options", using untyped
12973
+ # sord omit - no YARD return type given, using untyped
12974
+ def to_json: (?untyped as_json_options) -> untyped
12975
+
12497
12976
  # sord omit - no YARD type given for :score, using untyped
12498
12977
  # optional field readers
12499
12978
  attr_accessor score: untyped
@@ -12524,6 +13003,8 @@ module Api
12524
13003
  # sord omit - no YARD return type given, using untyped
12525
13004
  def to_proto: (?untyped _options) -> untyped
12526
13005
 
13006
+ def has_end_result?: () -> bool
13007
+
12527
13008
  # sord omit - no YARD type given for "buff", using untyped
12528
13009
  # sord omit - no YARD type given for "index", using untyped
12529
13010
  # sord omit - no YARD type given for "len", using untyped
@@ -12537,6 +13018,14 @@ module Api
12537
13018
  # sord omit - no YARD return type given, using untyped
12538
13019
  def to_h: () -> untyped
12539
13020
 
13021
+ # sord omit - no YARD type given for "options", using untyped
13022
+ # sord omit - no YARD return type given, using untyped
13023
+ def as_json: (?untyped options) -> untyped
13024
+
13025
+ # sord omit - no YARD type given for "as_json_options", using untyped
13026
+ # sord omit - no YARD return type given, using untyped
13027
+ def to_json: (?untyped as_json_options) -> untyped
13028
+
12540
13029
  module EndResult
12541
13030
  ENUM_END_RESULT_UNSET: untyped
12542
13031
  SURRENDER: untyped
@@ -12580,6 +13069,8 @@ module Api
12580
13069
  # sord omit - no YARD return type given, using untyped
12581
13070
  def to_proto: (?untyped _options) -> untyped
12582
13071
 
13072
+ def has_unit_value?: () -> bool
13073
+
12583
13074
  def has_value?: () -> bool
12584
13075
 
12585
13076
  def has_unit_tag?: () -> bool
@@ -12597,6 +13088,14 @@ module Api
12597
13088
  # sord omit - no YARD return type given, using untyped
12598
13089
  def to_h: () -> untyped
12599
13090
 
13091
+ # sord omit - no YARD type given for "options", using untyped
13092
+ # sord omit - no YARD return type given, using untyped
13093
+ def as_json: (?untyped options) -> untyped
13094
+
13095
+ # sord omit - no YARD type given for "as_json_options", using untyped
13096
+ # sord omit - no YARD return type given, using untyped
13097
+ def to_json: (?untyped as_json_options) -> untyped
13098
+
12600
13099
  # sord omit - no YARD type given for :value, using untyped
12601
13100
  # optional field readers
12602
13101
  attr_accessor value: untyped
@@ -12888,6 +13387,14 @@ module Api
12888
13387
  # sord omit - no YARD return type given, using untyped
12889
13388
  def to_h: () -> untyped
12890
13389
 
13390
+ # sord omit - no YARD type given for "options", using untyped
13391
+ # sord omit - no YARD return type given, using untyped
13392
+ def as_json: (?untyped options) -> untyped
13393
+
13394
+ # sord omit - no YARD type given for "as_json_options", using untyped
13395
+ # sord omit - no YARD return type given, using untyped
13396
+ def to_json: (?untyped as_json_options) -> untyped
13397
+
12891
13398
  # sord omit - no YARD type given for :pathing, using untyped
12892
13399
  # required field readers
12893
13400
  attr_accessor pathing: untyped
@@ -12936,6 +13443,14 @@ module Api
12936
13443
  # sord omit - no YARD return type given, using untyped
12937
13444
  def to_h: () -> untyped
12938
13445
 
13446
+ # sord omit - no YARD type given for "options", using untyped
13447
+ # sord omit - no YARD return type given, using untyped
13448
+ def as_json: (?untyped options) -> untyped
13449
+
13450
+ # sord omit - no YARD type given for "as_json_options", using untyped
13451
+ # sord omit - no YARD return type given, using untyped
13452
+ def to_json: (?untyped as_json_options) -> untyped
13453
+
12939
13454
  # sord omit - no YARD type given for :pathing, using untyped
12940
13455
  # required field readers
12941
13456
  attr_accessor pathing: untyped
@@ -12983,9 +13498,17 @@ module Api
12983
13498
  # sord omit - no YARD return type given, using untyped
12984
13499
  def to_h: () -> untyped
12985
13500
 
12986
- # sord omit - no YARD type given for :end_pos, using untyped
12987
- # optional field readers
12988
- attr_accessor end_pos: untyped
13501
+ # sord omit - no YARD type given for "options", using untyped
13502
+ # sord omit - no YARD return type given, using untyped
13503
+ def as_json: (?untyped options) -> untyped
13504
+
13505
+ # sord omit - no YARD type given for "as_json_options", using untyped
13506
+ # sord omit - no YARD return type given, using untyped
13507
+ def to_json: (?untyped as_json_options) -> untyped
13508
+
13509
+ # sord omit - no YARD type given for :end_pos, using untyped
13510
+ # optional field readers
13511
+ attr_accessor end_pos: untyped
12989
13512
 
12990
13513
  # sord omit - no YARD type given for :start, using untyped
12991
13514
  # oneof field readers
@@ -13032,6 +13555,14 @@ module Api
13032
13555
  # sord omit - no YARD return type given, using untyped
13033
13556
  def to_h: () -> untyped
13034
13557
 
13558
+ # sord omit - no YARD type given for "options", using untyped
13559
+ # sord omit - no YARD return type given, using untyped
13560
+ def as_json: (?untyped options) -> untyped
13561
+
13562
+ # sord omit - no YARD type given for "as_json_options", using untyped
13563
+ # sord omit - no YARD return type given, using untyped
13564
+ def to_json: (?untyped as_json_options) -> untyped
13565
+
13035
13566
  # sord omit - no YARD type given for :distance, using untyped
13036
13567
  # optional field readers
13037
13568
  attr_accessor distance: untyped
@@ -13069,6 +13600,14 @@ module Api
13069
13600
  # sord omit - no YARD return type given, using untyped
13070
13601
  def to_h: () -> untyped
13071
13602
 
13603
+ # sord omit - no YARD type given for "options", using untyped
13604
+ # sord omit - no YARD return type given, using untyped
13605
+ def as_json: (?untyped options) -> untyped
13606
+
13607
+ # sord omit - no YARD type given for "as_json_options", using untyped
13608
+ # sord omit - no YARD return type given, using untyped
13609
+ def to_json: (?untyped as_json_options) -> untyped
13610
+
13072
13611
  # sord omit - no YARD type given for :unit_tag, using untyped
13073
13612
  # optional field readers
13074
13613
  attr_accessor unit_tag: untyped
@@ -13110,6 +13649,14 @@ module Api
13110
13649
  # sord omit - no YARD return type given, using untyped
13111
13650
  def to_h: () -> untyped
13112
13651
 
13652
+ # sord omit - no YARD type given for "options", using untyped
13653
+ # sord omit - no YARD return type given, using untyped
13654
+ def as_json: (?untyped options) -> untyped
13655
+
13656
+ # sord omit - no YARD type given for "as_json_options", using untyped
13657
+ # sord omit - no YARD return type given, using untyped
13658
+ def to_json: (?untyped as_json_options) -> untyped
13659
+
13113
13660
  # sord omit - no YARD type given for :abilities, using untyped
13114
13661
  # required field readers
13115
13662
  attr_accessor abilities: untyped
@@ -13161,6 +13708,14 @@ module Api
13161
13708
  # sord omit - no YARD return type given, using untyped
13162
13709
  def to_h: () -> untyped
13163
13710
 
13711
+ # sord omit - no YARD type given for "options", using untyped
13712
+ # sord omit - no YARD return type given, using untyped
13713
+ def as_json: (?untyped options) -> untyped
13714
+
13715
+ # sord omit - no YARD type given for "as_json_options", using untyped
13716
+ # sord omit - no YARD return type given, using untyped
13717
+ def to_json: (?untyped as_json_options) -> untyped
13718
+
13164
13719
  # sord omit - no YARD type given for :ability_id, using untyped
13165
13720
  # optional field readers
13166
13721
  attr_accessor ability_id: untyped
@@ -13199,6 +13754,8 @@ module Api
13199
13754
  # sord omit - no YARD return type given, using untyped
13200
13755
  def to_proto: (?untyped _options) -> untyped
13201
13756
 
13757
+ def has_result?: () -> bool
13758
+
13202
13759
  # sord omit - no YARD type given for "buff", using untyped
13203
13760
  # sord omit - no YARD type given for "index", using untyped
13204
13761
  # sord omit - no YARD type given for "len", using untyped
@@ -13211,6 +13768,14 @@ module Api
13211
13768
 
13212
13769
  # sord omit - no YARD return type given, using untyped
13213
13770
  def to_h: () -> untyped
13771
+
13772
+ # sord omit - no YARD type given for "options", using untyped
13773
+ # sord omit - no YARD return type given, using untyped
13774
+ def as_json: (?untyped options) -> untyped
13775
+
13776
+ # sord omit - no YARD type given for "as_json_options", using untyped
13777
+ # sord omit - no YARD return type given, using untyped
13778
+ def to_json: (?untyped as_json_options) -> untyped
13214
13779
  end
13215
13780
 
13216
13781
  class Score
@@ -13241,6 +13806,8 @@ module Api
13241
13806
  # sord omit - no YARD return type given, using untyped
13242
13807
  def to_proto: (?untyped _options) -> untyped
13243
13808
 
13809
+ def has_score_type?: () -> bool
13810
+
13244
13811
  def has_score?: () -> bool
13245
13812
 
13246
13813
  def has_score_details?: () -> bool
@@ -13258,6 +13825,14 @@ module Api
13258
13825
  # sord omit - no YARD return type given, using untyped
13259
13826
  def to_h: () -> untyped
13260
13827
 
13828
+ # sord omit - no YARD type given for "options", using untyped
13829
+ # sord omit - no YARD return type given, using untyped
13830
+ def as_json: (?untyped options) -> untyped
13831
+
13832
+ # sord omit - no YARD type given for "as_json_options", using untyped
13833
+ # sord omit - no YARD return type given, using untyped
13834
+ def to_json: (?untyped as_json_options) -> untyped
13835
+
13261
13836
  # sord omit - no YARD type given for :score, using untyped
13262
13837
  # optional field readers
13263
13838
  attr_accessor score: untyped
@@ -13331,6 +13906,14 @@ module Api
13331
13906
  # sord omit - no YARD return type given, using untyped
13332
13907
  def to_h: () -> untyped
13333
13908
 
13909
+ # sord omit - no YARD type given for "options", using untyped
13910
+ # sord omit - no YARD return type given, using untyped
13911
+ def as_json: (?untyped options) -> untyped
13912
+
13913
+ # sord omit - no YARD type given for "as_json_options", using untyped
13914
+ # sord omit - no YARD return type given, using untyped
13915
+ def to_json: (?untyped as_json_options) -> untyped
13916
+
13334
13917
  # sord omit - no YARD type given for :none, using untyped
13335
13918
  # optional field readers
13336
13919
  attr_accessor none: untyped
@@ -13390,6 +13973,14 @@ module Api
13390
13973
  # sord omit - no YARD return type given, using untyped
13391
13974
  def to_h: () -> untyped
13392
13975
 
13976
+ # sord omit - no YARD type given for "options", using untyped
13977
+ # sord omit - no YARD return type given, using untyped
13978
+ def as_json: (?untyped options) -> untyped
13979
+
13980
+ # sord omit - no YARD type given for "as_json_options", using untyped
13981
+ # sord omit - no YARD return type given, using untyped
13982
+ def to_json: (?untyped as_json_options) -> untyped
13983
+
13393
13984
  # sord omit - no YARD type given for :life, using untyped
13394
13985
  # optional field readers
13395
13986
  attr_accessor life: untyped
@@ -13545,6 +14136,14 @@ module Api
13545
14136
  # sord omit - no YARD return type given, using untyped
13546
14137
  def to_h: () -> untyped
13547
14138
 
14139
+ # sord omit - no YARD type given for "options", using untyped
14140
+ # sord omit - no YARD return type given, using untyped
14141
+ def as_json: (?untyped options) -> untyped
14142
+
14143
+ # sord omit - no YARD type given for "as_json_options", using untyped
14144
+ # sord omit - no YARD return type given, using untyped
14145
+ def to_json: (?untyped as_json_options) -> untyped
14146
+
13548
14147
  # sord omit - no YARD type given for :idle_production_time, using untyped
13549
14148
  # optional field readers
13550
14149
  attr_accessor idle_production_time: untyped
@@ -13713,6 +14312,14 @@ module Api
13713
14312
  # sord omit - no YARD return type given, using untyped
13714
14313
  def to_h: () -> untyped
13715
14314
 
14315
+ # sord omit - no YARD type given for "options", using untyped
14316
+ # sord omit - no YARD return type given, using untyped
14317
+ def as_json: (?untyped options) -> untyped
14318
+
14319
+ # sord omit - no YARD type given for "as_json_options", using untyped
14320
+ # sord omit - no YARD return type given, using untyped
14321
+ def to_json: (?untyped as_json_options) -> untyped
14322
+
13716
14323
  # sord omit - no YARD type given for :ability_id, using untyped
13717
14324
  # optional field readers
13718
14325
  attr_accessor ability_id: untyped
@@ -13760,6 +14367,14 @@ module Api
13760
14367
  # sord omit - no YARD return type given, using untyped
13761
14368
  def to_h: () -> untyped
13762
14369
 
14370
+ # sord omit - no YARD type given for "options", using untyped
14371
+ # sord omit - no YARD return type given, using untyped
14372
+ def as_json: (?untyped options) -> untyped
14373
+
14374
+ # sord omit - no YARD type given for "as_json_options", using untyped
14375
+ # sord omit - no YARD return type given, using untyped
14376
+ def to_json: (?untyped as_json_options) -> untyped
14377
+
13763
14378
  # sord omit - no YARD type given for :bits_per_pixel, using untyped
13764
14379
  # optional field readers
13765
14380
  attr_accessor bits_per_pixel: untyped
@@ -13775,8 +14390,8 @@ module Api
13775
14390
 
13776
14391
  # Protobuf virtual class.
13777
14392
  class PointI
13778
- include Sc2::Position
13779
14393
  include Api::PointDistanceExtension
14394
+ include Sc2::Position
13780
14395
 
13781
14396
  # sord omit - no YARD type given for "buff", using untyped
13782
14397
  # sord omit - no YARD return type given, using untyped
@@ -13812,6 +14427,14 @@ module Api
13812
14427
  # sord omit - no YARD return type given, using untyped
13813
14428
  def to_h: () -> untyped
13814
14429
 
14430
+ # sord omit - no YARD type given for "options", using untyped
14431
+ # sord omit - no YARD return type given, using untyped
14432
+ def as_json: (?untyped options) -> untyped
14433
+
14434
+ # sord omit - no YARD type given for "as_json_options", using untyped
14435
+ # sord omit - no YARD return type given, using untyped
14436
+ def to_json: (?untyped as_json_options) -> untyped
14437
+
13815
14438
  # Loose equality matches on floats x and y.
13816
14439
  # We never check z-axis, because the map is single-level.
13817
14440
  # TODO: We should almost certainly introduce TOLERANCE here, but verify it's cost first.
@@ -13936,6 +14559,19 @@ module Api
13936
14559
  # _@param_ `distance` — The distance to move.
13937
14560
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
13938
14561
 
14562
+ # sord warn - "Array[Float,Float]" does not appear to be a type
14563
+ # Returns [x,y] array tuple
14564
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
14565
+
14566
+ # Returns [x,y] array tuple where floats are cast to ints
14567
+ # Useful when trying to find the tile which something is on
14568
+ #
14569
+ # _@return_ — Array<Integer, Integer>
14570
+ def to_atile: () -> ::Array[(Integer | Integer)]
14571
+
14572
+ # sord omit - no YARD return type given, using untyped
14573
+ def to_s: () -> untyped
14574
+
13939
14575
  # sord omit - no YARD type given for :x, using untyped
13940
14576
  # optional field readers
13941
14577
  attr_accessor x: untyped
@@ -13980,6 +14616,14 @@ module Api
13980
14616
  # sord omit - no YARD return type given, using untyped
13981
14617
  def to_h: () -> untyped
13982
14618
 
14619
+ # sord omit - no YARD type given for "options", using untyped
14620
+ # sord omit - no YARD return type given, using untyped
14621
+ def as_json: (?untyped options) -> untyped
14622
+
14623
+ # sord omit - no YARD type given for "as_json_options", using untyped
14624
+ # sord omit - no YARD return type given, using untyped
14625
+ def to_json: (?untyped as_json_options) -> untyped
14626
+
13983
14627
  # sord omit - no YARD type given for :p0, using untyped
13984
14628
  # optional field readers
13985
14629
  attr_accessor p0: untyped
@@ -13991,9 +14635,9 @@ module Api
13991
14635
 
13992
14636
  # Protobuf virtual class.
13993
14637
  class Point2D
13994
- include Sc2::Position
13995
- include Api::Point2DExtension
13996
14638
  include Api::PointDistanceExtension
14639
+ include Api::Point2DExtension
14640
+ include Sc2::Position
13997
14641
  extend Api::Point2DExtension::ClassMethods
13998
14642
 
13999
14643
  # sord omit - no YARD type given for "buff", using untyped
@@ -14030,6 +14674,14 @@ module Api
14030
14674
  # sord omit - no YARD return type given, using untyped
14031
14675
  def to_h: () -> untyped
14032
14676
 
14677
+ # sord omit - no YARD type given for "options", using untyped
14678
+ # sord omit - no YARD return type given, using untyped
14679
+ def as_json: (?untyped options) -> untyped
14680
+
14681
+ # sord omit - no YARD type given for "as_json_options", using untyped
14682
+ # sord omit - no YARD return type given, using untyped
14683
+ def to_json: (?untyped as_json_options) -> untyped
14684
+
14033
14685
  # Shorthand for creating an instance for [x, y]
14034
14686
  #
14035
14687
  # _@param_ `x`
@@ -14041,21 +14693,6 @@ module Api
14041
14693
  # ```
14042
14694
  def self.[]: ((Float | Integer) x, (Float | Integer) y) -> Api::Point2D
14043
14695
 
14044
- # sord omit - no YARD return type given, using untyped
14045
- # Hashes on x and y
14046
- def hash: () -> untyped
14047
-
14048
- # sord omit - no YARD type given for "other", using untyped
14049
- def eql?: (untyped other) -> bool
14050
-
14051
- # Returns self
14052
- def to_p2d: () -> self
14053
-
14054
- # Create a new 3d Point, by adding a y axis.
14055
- #
14056
- # _@param_ `z`
14057
- def to_3d: (?z: (Float | Integer)) -> Api::Point
14058
-
14059
14696
  # Loose equality matches on floats x and y.
14060
14697
  # We never check z-axis, because the map is single-level.
14061
14698
  # TODO: We should almost certainly introduce TOLERANCE here, but verify it's cost first.
@@ -14180,6 +14817,34 @@ module Api
14180
14817
  # _@param_ `distance` — The distance to move.
14181
14818
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
14182
14819
 
14820
+ # sord warn - "Array[Float,Float]" does not appear to be a type
14821
+ # Returns [x,y] array tuple
14822
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
14823
+
14824
+ # Returns [x,y] array tuple where floats are cast to ints
14825
+ # Useful when trying to find the tile which something is on
14826
+ #
14827
+ # _@return_ — Array<Integer, Integer>
14828
+ def to_atile: () -> ::Array[(Integer | Integer)]
14829
+
14830
+ # sord omit - no YARD return type given, using untyped
14831
+ def to_s: () -> untyped
14832
+
14833
+ # sord omit - no YARD return type given, using untyped
14834
+ # Hashes on x and y
14835
+ def hash: () -> untyped
14836
+
14837
+ # sord omit - no YARD type given for "other", using untyped
14838
+ def eql?: (untyped other) -> bool
14839
+
14840
+ # Returns self
14841
+ def to_p2d: () -> self
14842
+
14843
+ # Create a new 3d Point, by adding a y axis.
14844
+ #
14845
+ # _@param_ `z`
14846
+ def to_3d: (?z: (Float | Integer)) -> Api::Point
14847
+
14183
14848
  # sord omit - no YARD type given for :x, using untyped
14184
14849
  # optional field readers
14185
14850
  attr_accessor x: untyped
@@ -14191,9 +14856,9 @@ module Api
14191
14856
 
14192
14857
  # Protobuf virtual class.
14193
14858
  class Point
14859
+ include Api::PointDistanceExtension
14194
14860
  include Api::PointExtension
14195
14861
  include Sc2::Position
14196
- include Api::PointDistanceExtension
14197
14862
  extend Api::PointExtension::ClassMethods
14198
14863
 
14199
14864
  # sord omit - no YARD type given for "buff", using untyped
@@ -14233,6 +14898,14 @@ module Api
14233
14898
  # sord omit - no YARD return type given, using untyped
14234
14899
  def to_h: () -> untyped
14235
14900
 
14901
+ # sord omit - no YARD type given for "options", using untyped
14902
+ # sord omit - no YARD return type given, using untyped
14903
+ def as_json: (?untyped options) -> untyped
14904
+
14905
+ # sord omit - no YARD type given for "as_json_options", using untyped
14906
+ # sord omit - no YARD return type given, using untyped
14907
+ def to_json: (?untyped as_json_options) -> untyped
14908
+
14236
14909
  # Shorthand for creating an instance for [x, y, z]
14237
14910
  #
14238
14911
  # _@param_ `x`
@@ -14370,6 +15043,19 @@ module Api
14370
15043
  # _@param_ `distance` — The distance to move.
14371
15044
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
14372
15045
 
15046
+ # sord warn - "Array[Float,Float]" does not appear to be a type
15047
+ # Returns [x,y] array tuple
15048
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
15049
+
15050
+ # Returns [x,y] array tuple where floats are cast to ints
15051
+ # Useful when trying to find the tile which something is on
15052
+ #
15053
+ # _@return_ — Array<Integer, Integer>
15054
+ def to_atile: () -> ::Array[(Integer | Integer)]
15055
+
15056
+ # sord omit - no YARD return type given, using untyped
15057
+ def to_s: () -> untyped
15058
+
14373
15059
  # sord omit - no YARD return type given, using untyped
14374
15060
  def hash: () -> untyped
14375
15061
 
@@ -14394,8 +15080,8 @@ module Api
14394
15080
 
14395
15081
  # Protobuf virtual class.
14396
15082
  class Size2DI
14397
- include Sc2::Position
14398
15083
  include Api::PointDistanceExtension
15084
+ include Sc2::Position
14399
15085
 
14400
15086
  # sord omit - no YARD type given for "buff", using untyped
14401
15087
  # sord omit - no YARD return type given, using untyped
@@ -14431,6 +15117,14 @@ module Api
14431
15117
  # sord omit - no YARD return type given, using untyped
14432
15118
  def to_h: () -> untyped
14433
15119
 
15120
+ # sord omit - no YARD type given for "options", using untyped
15121
+ # sord omit - no YARD return type given, using untyped
15122
+ def as_json: (?untyped options) -> untyped
15123
+
15124
+ # sord omit - no YARD type given for "as_json_options", using untyped
15125
+ # sord omit - no YARD return type given, using untyped
15126
+ def to_json: (?untyped as_json_options) -> untyped
15127
+
14434
15128
  # Loose equality matches on floats x and y.
14435
15129
  # We never check z-axis, because the map is single-level.
14436
15130
  # TODO: We should almost certainly introduce TOLERANCE here, but verify it's cost first.
@@ -14555,6 +15249,19 @@ module Api
14555
15249
  # _@param_ `distance` — The distance to move.
14556
15250
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
14557
15251
 
15252
+ # sord warn - "Array[Float,Float]" does not appear to be a type
15253
+ # Returns [x,y] array tuple
15254
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
15255
+
15256
+ # Returns [x,y] array tuple where floats are cast to ints
15257
+ # Useful when trying to find the tile which something is on
15258
+ #
15259
+ # _@return_ — Array<Integer, Integer>
15260
+ def to_atile: () -> ::Array[(Integer | Integer)]
15261
+
15262
+ # sord omit - no YARD return type given, using untyped
15263
+ def to_s: () -> untyped
15264
+
14558
15265
  # sord omit - no YARD type given for :x, using untyped
14559
15266
  # optional field readers
14560
15267
  attr_accessor x: untyped
@@ -14769,6 +15476,14 @@ module Api
14769
15476
  # sord omit - no YARD return type given, using untyped
14770
15477
  def to_h: () -> untyped
14771
15478
 
15479
+ # sord omit - no YARD type given for "options", using untyped
15480
+ # sord omit - no YARD return type given, using untyped
15481
+ def as_json: (?untyped options) -> untyped
15482
+
15483
+ # sord omit - no YARD type given for "as_json_options", using untyped
15484
+ # sord omit - no YARD return type given, using untyped
15485
+ def to_json: (?untyped as_json_options) -> untyped
15486
+
14772
15487
  # sord omit - no YARD type given for :id, using untyped
14773
15488
  # optional field readers
14774
15489
  attr_accessor id: untyped
@@ -14944,6 +15659,8 @@ module Api
14944
15659
 
14945
15660
  def has_id?: () -> bool
14946
15661
 
15662
+ def has_status?: () -> bool
15663
+
14947
15664
  # sord omit - no YARD type given for "buff", using untyped
14948
15665
  # sord omit - no YARD type given for "index", using untyped
14949
15666
  # sord omit - no YARD type given for "len", using untyped
@@ -14957,6 +15674,14 @@ module Api
14957
15674
  # sord omit - no YARD return type given, using untyped
14958
15675
  def to_h: () -> untyped
14959
15676
 
15677
+ # sord omit - no YARD type given for "options", using untyped
15678
+ # sord omit - no YARD return type given, using untyped
15679
+ def as_json: (?untyped options) -> untyped
15680
+
15681
+ # sord omit - no YARD type given for "as_json_options", using untyped
15682
+ # sord omit - no YARD return type given, using untyped
15683
+ def to_json: (?untyped as_json_options) -> untyped
15684
+
14960
15685
  # sord omit - no YARD type given for :error, using untyped
14961
15686
  # required field readers
14962
15687
  attr_accessor error: untyped
@@ -15106,6 +15831,14 @@ module Api
15106
15831
  # sord omit - no YARD return type given, using untyped
15107
15832
  def to_h: () -> untyped
15108
15833
 
15834
+ # sord omit - no YARD type given for "options", using untyped
15835
+ # sord omit - no YARD return type given, using untyped
15836
+ def as_json: (?untyped options) -> untyped
15837
+
15838
+ # sord omit - no YARD type given for "as_json_options", using untyped
15839
+ # sord omit - no YARD return type given, using untyped
15840
+ def to_json: (?untyped as_json_options) -> untyped
15841
+
15109
15842
  # sord omit - no YARD type given for :player_setup, using untyped
15110
15843
  # required field readers
15111
15844
  attr_accessor player_setup: untyped
@@ -15170,6 +15903,14 @@ module Api
15170
15903
  # sord omit - no YARD return type given, using untyped
15171
15904
  def to_h: () -> untyped
15172
15905
 
15906
+ # sord omit - no YARD type given for "options", using untyped
15907
+ # sord omit - no YARD return type given, using untyped
15908
+ def as_json: (?untyped options) -> untyped
15909
+
15910
+ # sord omit - no YARD type given for "as_json_options", using untyped
15911
+ # sord omit - no YARD return type given, using untyped
15912
+ def to_json: (?untyped as_json_options) -> untyped
15913
+
15173
15914
  # sord omit - no YARD type given for :map_path, using untyped
15174
15915
  # optional field readers
15175
15916
  attr_accessor map_path: untyped
@@ -15206,6 +15947,8 @@ module Api
15206
15947
  # sord omit - no YARD return type given, using untyped
15207
15948
  def to_proto: (?untyped _options) -> untyped
15208
15949
 
15950
+ def has_error?: () -> bool
15951
+
15209
15952
  def has_error_details?: () -> bool
15210
15953
 
15211
15954
  # sord omit - no YARD type given for "buff", using untyped
@@ -15221,6 +15964,14 @@ module Api
15221
15964
  # sord omit - no YARD return type given, using untyped
15222
15965
  def to_h: () -> untyped
15223
15966
 
15967
+ # sord omit - no YARD type given for "options", using untyped
15968
+ # sord omit - no YARD return type given, using untyped
15969
+ def as_json: (?untyped options) -> untyped
15970
+
15971
+ # sord omit - no YARD type given for "as_json_options", using untyped
15972
+ # sord omit - no YARD return type given, using untyped
15973
+ def to_json: (?untyped as_json_options) -> untyped
15974
+
15224
15975
  # sord omit - no YARD type given for :error_details, using untyped
15225
15976
  # optional field readers
15226
15977
  attr_accessor error_details: untyped
@@ -15302,6 +16053,14 @@ module Api
15302
16053
  # sord omit - no YARD return type given, using untyped
15303
16054
  def to_h: () -> untyped
15304
16055
 
16056
+ # sord omit - no YARD type given for "options", using untyped
16057
+ # sord omit - no YARD return type given, using untyped
16058
+ def as_json: (?untyped options) -> untyped
16059
+
16060
+ # sord omit - no YARD type given for "as_json_options", using untyped
16061
+ # sord omit - no YARD return type given, using untyped
16062
+ def to_json: (?untyped as_json_options) -> untyped
16063
+
15305
16064
  # sord omit - no YARD type given for :client_ports, using untyped
15306
16065
  # required field readers
15307
16066
  attr_accessor client_ports: untyped
@@ -15374,6 +16133,14 @@ module Api
15374
16133
  # sord omit - no YARD return type given, using untyped
15375
16134
  def to_h: () -> untyped
15376
16135
 
16136
+ # sord omit - no YARD type given for "options", using untyped
16137
+ # sord omit - no YARD return type given, using untyped
16138
+ def as_json: (?untyped options) -> untyped
16139
+
16140
+ # sord omit - no YARD type given for "as_json_options", using untyped
16141
+ # sord omit - no YARD return type given, using untyped
16142
+ def to_json: (?untyped as_json_options) -> untyped
16143
+
15377
16144
  # sord omit - no YARD type given for :game_port, using untyped
15378
16145
  # optional field readers
15379
16146
  attr_accessor game_port: untyped
@@ -15413,6 +16180,8 @@ module Api
15413
16180
 
15414
16181
  def has_player_id?: () -> bool
15415
16182
 
16183
+ def has_error?: () -> bool
16184
+
15416
16185
  def has_error_details?: () -> bool
15417
16186
 
15418
16187
  # sord omit - no YARD type given for "buff", using untyped
@@ -15428,6 +16197,14 @@ module Api
15428
16197
  # sord omit - no YARD return type given, using untyped
15429
16198
  def to_h: () -> untyped
15430
16199
 
16200
+ # sord omit - no YARD type given for "options", using untyped
16201
+ # sord omit - no YARD return type given, using untyped
16202
+ def as_json: (?untyped options) -> untyped
16203
+
16204
+ # sord omit - no YARD type given for "as_json_options", using untyped
16205
+ # sord omit - no YARD return type given, using untyped
16206
+ def to_json: (?untyped as_json_options) -> untyped
16207
+
15431
16208
  # sord omit - no YARD type given for :player_id, using untyped
15432
16209
  # optional field readers
15433
16210
  attr_accessor player_id: untyped
@@ -15490,6 +16267,14 @@ module Api
15490
16267
 
15491
16268
  # sord omit - no YARD return type given, using untyped
15492
16269
  def to_h: () -> untyped
16270
+
16271
+ # sord omit - no YARD type given for "options", using untyped
16272
+ # sord omit - no YARD return type given, using untyped
16273
+ def as_json: (?untyped options) -> untyped
16274
+
16275
+ # sord omit - no YARD type given for "as_json_options", using untyped
16276
+ # sord omit - no YARD return type given, using untyped
16277
+ def to_json: (?untyped as_json_options) -> untyped
15493
16278
  end
15494
16279
 
15495
16280
  class ResponseRestartGame
@@ -15520,6 +16305,8 @@ module Api
15520
16305
  # sord omit - no YARD return type given, using untyped
15521
16306
  def to_proto: (?untyped _options) -> untyped
15522
16307
 
16308
+ def has_error?: () -> bool
16309
+
15523
16310
  def has_error_details?: () -> bool
15524
16311
 
15525
16312
  def has_need_hard_reset?: () -> bool
@@ -15537,6 +16324,14 @@ module Api
15537
16324
  # sord omit - no YARD return type given, using untyped
15538
16325
  def to_h: () -> untyped
15539
16326
 
16327
+ # sord omit - no YARD type given for "options", using untyped
16328
+ # sord omit - no YARD return type given, using untyped
16329
+ def as_json: (?untyped options) -> untyped
16330
+
16331
+ # sord omit - no YARD type given for "as_json_options", using untyped
16332
+ # sord omit - no YARD return type given, using untyped
16333
+ def to_json: (?untyped as_json_options) -> untyped
16334
+
15540
16335
  # sord omit - no YARD type given for :error_details, using untyped
15541
16336
  # optional field readers
15542
16337
  attr_accessor error_details: untyped
@@ -15617,6 +16412,14 @@ module Api
15617
16412
  # sord omit - no YARD return type given, using untyped
15618
16413
  def to_h: () -> untyped
15619
16414
 
16415
+ # sord omit - no YARD type given for "options", using untyped
16416
+ # sord omit - no YARD return type given, using untyped
16417
+ def as_json: (?untyped options) -> untyped
16418
+
16419
+ # sord omit - no YARD type given for "as_json_options", using untyped
16420
+ # sord omit - no YARD return type given, using untyped
16421
+ def to_json: (?untyped as_json_options) -> untyped
16422
+
15620
16423
  # sord omit - no YARD type given for :map_data, using untyped
15621
16424
  # optional field readers
15622
16425
  attr_accessor map_data: untyped
@@ -15681,6 +16484,8 @@ module Api
15681
16484
  # sord omit - no YARD return type given, using untyped
15682
16485
  def to_proto: (?untyped _options) -> untyped
15683
16486
 
16487
+ def has_error?: () -> bool
16488
+
15684
16489
  def has_error_details?: () -> bool
15685
16490
 
15686
16491
  # sord omit - no YARD type given for "buff", using untyped
@@ -15696,6 +16501,14 @@ module Api
15696
16501
  # sord omit - no YARD return type given, using untyped
15697
16502
  def to_h: () -> untyped
15698
16503
 
16504
+ # sord omit - no YARD type given for "options", using untyped
16505
+ # sord omit - no YARD return type given, using untyped
16506
+ def as_json: (?untyped options) -> untyped
16507
+
16508
+ # sord omit - no YARD type given for "as_json_options", using untyped
16509
+ # sord omit - no YARD return type given, using untyped
16510
+ def to_json: (?untyped as_json_options) -> untyped
16511
+
15699
16512
  # sord omit - no YARD type given for :error_details, using untyped
15700
16513
  # optional field readers
15701
16514
  attr_accessor error_details: untyped
@@ -15752,6 +16565,14 @@ module Api
15752
16565
  # sord omit - no YARD return type given, using untyped
15753
16566
  def to_h: () -> untyped
15754
16567
 
16568
+ # sord omit - no YARD type given for "options", using untyped
16569
+ # sord omit - no YARD return type given, using untyped
16570
+ def as_json: (?untyped options) -> untyped
16571
+
16572
+ # sord omit - no YARD type given for "as_json_options", using untyped
16573
+ # sord omit - no YARD return type given, using untyped
16574
+ def to_json: (?untyped as_json_options) -> untyped
16575
+
15755
16576
  # sord omit - no YARD type given for :trigger_cmd, using untyped
15756
16577
  # optional field readers
15757
16578
  attr_accessor trigger_cmd: untyped
@@ -15784,6 +16605,8 @@ module Api
15784
16605
  # sord omit - no YARD return type given, using untyped
15785
16606
  def to_proto: (?untyped _options) -> untyped
15786
16607
 
16608
+ def has_error?: () -> bool
16609
+
15787
16610
  def has_error_details?: () -> bool
15788
16611
 
15789
16612
  # sord omit - no YARD type given for "buff", using untyped
@@ -15799,6 +16622,14 @@ module Api
15799
16622
  # sord omit - no YARD return type given, using untyped
15800
16623
  def to_h: () -> untyped
15801
16624
 
16625
+ # sord omit - no YARD type given for "options", using untyped
16626
+ # sord omit - no YARD return type given, using untyped
16627
+ def as_json: (?untyped options) -> untyped
16628
+
16629
+ # sord omit - no YARD type given for "as_json_options", using untyped
16630
+ # sord omit - no YARD return type given, using untyped
16631
+ def to_json: (?untyped as_json_options) -> untyped
16632
+
15802
16633
  # sord omit - no YARD type given for :error_details, using untyped
15803
16634
  # optional field readers
15804
16635
  attr_accessor error_details: untyped
@@ -15845,6 +16676,14 @@ module Api
15845
16676
 
15846
16677
  # sord omit - no YARD return type given, using untyped
15847
16678
  def to_h: () -> untyped
16679
+
16680
+ # sord omit - no YARD type given for "options", using untyped
16681
+ # sord omit - no YARD return type given, using untyped
16682
+ def as_json: (?untyped options) -> untyped
16683
+
16684
+ # sord omit - no YARD type given for "as_json_options", using untyped
16685
+ # sord omit - no YARD return type given, using untyped
16686
+ def to_json: (?untyped as_json_options) -> untyped
15848
16687
  end
15849
16688
 
15850
16689
  class ResponseLeaveGame
@@ -15875,6 +16714,14 @@ module Api
15875
16714
 
15876
16715
  # sord omit - no YARD return type given, using untyped
15877
16716
  def to_h: () -> untyped
16717
+
16718
+ # sord omit - no YARD type given for "options", using untyped
16719
+ # sord omit - no YARD return type given, using untyped
16720
+ def as_json: (?untyped options) -> untyped
16721
+
16722
+ # sord omit - no YARD type given for "as_json_options", using untyped
16723
+ # sord omit - no YARD return type given, using untyped
16724
+ def to_json: (?untyped as_json_options) -> untyped
15878
16725
  end
15879
16726
 
15880
16727
  class RequestQuickSave
@@ -15905,6 +16752,14 @@ module Api
15905
16752
 
15906
16753
  # sord omit - no YARD return type given, using untyped
15907
16754
  def to_h: () -> untyped
16755
+
16756
+ # sord omit - no YARD type given for "options", using untyped
16757
+ # sord omit - no YARD return type given, using untyped
16758
+ def as_json: (?untyped options) -> untyped
16759
+
16760
+ # sord omit - no YARD type given for "as_json_options", using untyped
16761
+ # sord omit - no YARD return type given, using untyped
16762
+ def to_json: (?untyped as_json_options) -> untyped
15908
16763
  end
15909
16764
 
15910
16765
  class ResponseQuickSave
@@ -15935,6 +16790,14 @@ module Api
15935
16790
 
15936
16791
  # sord omit - no YARD return type given, using untyped
15937
16792
  def to_h: () -> untyped
16793
+
16794
+ # sord omit - no YARD type given for "options", using untyped
16795
+ # sord omit - no YARD return type given, using untyped
16796
+ def as_json: (?untyped options) -> untyped
16797
+
16798
+ # sord omit - no YARD type given for "as_json_options", using untyped
16799
+ # sord omit - no YARD return type given, using untyped
16800
+ def to_json: (?untyped as_json_options) -> untyped
15938
16801
  end
15939
16802
 
15940
16803
  class RequestQuickLoad
@@ -15965,6 +16828,14 @@ module Api
15965
16828
 
15966
16829
  # sord omit - no YARD return type given, using untyped
15967
16830
  def to_h: () -> untyped
16831
+
16832
+ # sord omit - no YARD type given for "options", using untyped
16833
+ # sord omit - no YARD return type given, using untyped
16834
+ def as_json: (?untyped options) -> untyped
16835
+
16836
+ # sord omit - no YARD type given for "as_json_options", using untyped
16837
+ # sord omit - no YARD return type given, using untyped
16838
+ def to_json: (?untyped as_json_options) -> untyped
15968
16839
  end
15969
16840
 
15970
16841
  class ResponseQuickLoad
@@ -15995,6 +16866,14 @@ module Api
15995
16866
 
15996
16867
  # sord omit - no YARD return type given, using untyped
15997
16868
  def to_h: () -> untyped
16869
+
16870
+ # sord omit - no YARD type given for "options", using untyped
16871
+ # sord omit - no YARD return type given, using untyped
16872
+ def as_json: (?untyped options) -> untyped
16873
+
16874
+ # sord omit - no YARD type given for "as_json_options", using untyped
16875
+ # sord omit - no YARD return type given, using untyped
16876
+ def to_json: (?untyped as_json_options) -> untyped
15998
16877
  end
15999
16878
 
16000
16879
  class RequestQuit
@@ -16025,6 +16904,14 @@ module Api
16025
16904
 
16026
16905
  # sord omit - no YARD return type given, using untyped
16027
16906
  def to_h: () -> untyped
16907
+
16908
+ # sord omit - no YARD type given for "options", using untyped
16909
+ # sord omit - no YARD return type given, using untyped
16910
+ def as_json: (?untyped options) -> untyped
16911
+
16912
+ # sord omit - no YARD type given for "as_json_options", using untyped
16913
+ # sord omit - no YARD return type given, using untyped
16914
+ def to_json: (?untyped as_json_options) -> untyped
16028
16915
  end
16029
16916
 
16030
16917
  class ResponseQuit
@@ -16055,6 +16942,14 @@ module Api
16055
16942
 
16056
16943
  # sord omit - no YARD return type given, using untyped
16057
16944
  def to_h: () -> untyped
16945
+
16946
+ # sord omit - no YARD type given for "options", using untyped
16947
+ # sord omit - no YARD return type given, using untyped
16948
+ def as_json: (?untyped options) -> untyped
16949
+
16950
+ # sord omit - no YARD type given for "as_json_options", using untyped
16951
+ # sord omit - no YARD return type given, using untyped
16952
+ def to_json: (?untyped as_json_options) -> untyped
16058
16953
  end
16059
16954
 
16060
16955
  class RequestGameInfo
@@ -16085,6 +16980,14 @@ module Api
16085
16980
 
16086
16981
  # sord omit - no YARD return type given, using untyped
16087
16982
  def to_h: () -> untyped
16983
+
16984
+ # sord omit - no YARD type given for "options", using untyped
16985
+ # sord omit - no YARD return type given, using untyped
16986
+ def as_json: (?untyped options) -> untyped
16987
+
16988
+ # sord omit - no YARD type given for "as_json_options", using untyped
16989
+ # sord omit - no YARD return type given, using untyped
16990
+ def to_json: (?untyped as_json_options) -> untyped
16088
16991
  end
16089
16992
 
16090
16993
  class ResponseGameInfo
@@ -16137,6 +17040,14 @@ module Api
16137
17040
  # sord omit - no YARD return type given, using untyped
16138
17041
  def to_h: () -> untyped
16139
17042
 
17043
+ # sord omit - no YARD type given for "options", using untyped
17044
+ # sord omit - no YARD return type given, using untyped
17045
+ def as_json: (?untyped options) -> untyped
17046
+
17047
+ # sord omit - no YARD type given for "as_json_options", using untyped
17048
+ # sord omit - no YARD return type given, using untyped
17049
+ def to_json: (?untyped as_json_options) -> untyped
17050
+
16140
17051
  # sord omit - no YARD type given for :player_info, using untyped
16141
17052
  # required field readers
16142
17053
  attr_accessor player_info: untyped
@@ -16197,6 +17108,14 @@ module Api
16197
17108
  # sord omit - no YARD return type given, using untyped
16198
17109
  def to_h: () -> untyped
16199
17110
 
17111
+ # sord omit - no YARD type given for "options", using untyped
17112
+ # sord omit - no YARD return type given, using untyped
17113
+ def as_json: (?untyped options) -> untyped
17114
+
17115
+ # sord omit - no YARD type given for "as_json_options", using untyped
17116
+ # sord omit - no YARD return type given, using untyped
17117
+ def to_json: (?untyped as_json_options) -> untyped
17118
+
16200
17119
  # sord omit - no YARD type given for :disable_fog, using untyped
16201
17120
  # optional field readers
16202
17121
  attr_accessor disable_fog: untyped
@@ -16248,6 +17167,14 @@ module Api
16248
17167
  # sord omit - no YARD return type given, using untyped
16249
17168
  def to_h: () -> untyped
16250
17169
 
17170
+ # sord omit - no YARD type given for "options", using untyped
17171
+ # sord omit - no YARD return type given, using untyped
17172
+ def as_json: (?untyped options) -> untyped
17173
+
17174
+ # sord omit - no YARD type given for "as_json_options", using untyped
17175
+ # sord omit - no YARD return type given, using untyped
17176
+ def to_json: (?untyped as_json_options) -> untyped
17177
+
16251
17178
  # sord omit - no YARD type given for :actions, using untyped
16252
17179
  # required field readers
16253
17180
  attr_accessor actions: untyped
@@ -16304,6 +17231,14 @@ module Api
16304
17231
  # sord omit - no YARD return type given, using untyped
16305
17232
  def to_h: () -> untyped
16306
17233
 
17234
+ # sord omit - no YARD type given for "options", using untyped
17235
+ # sord omit - no YARD return type given, using untyped
17236
+ def as_json: (?untyped options) -> untyped
17237
+
17238
+ # sord omit - no YARD type given for "as_json_options", using untyped
17239
+ # sord omit - no YARD return type given, using untyped
17240
+ def to_json: (?untyped as_json_options) -> untyped
17241
+
16307
17242
  # sord omit - no YARD type given for :player_id, using untyped
16308
17243
  # optional field readers
16309
17244
  attr_accessor player_id: untyped
@@ -16342,6 +17277,14 @@ module Api
16342
17277
  # sord omit - no YARD return type given, using untyped
16343
17278
  def to_h: () -> untyped
16344
17279
 
17280
+ # sord omit - no YARD type given for "options", using untyped
17281
+ # sord omit - no YARD return type given, using untyped
17282
+ def as_json: (?untyped options) -> untyped
17283
+
17284
+ # sord omit - no YARD type given for "as_json_options", using untyped
17285
+ # sord omit - no YARD return type given, using untyped
17286
+ def to_json: (?untyped as_json_options) -> untyped
17287
+
16345
17288
  # sord omit - no YARD type given for :actions, using untyped
16346
17289
  # required field readers
16347
17290
  attr_accessor actions: untyped
@@ -16384,6 +17327,14 @@ module Api
16384
17327
 
16385
17328
  # sord omit - no YARD return type given, using untyped
16386
17329
  def to_h: () -> untyped
17330
+
17331
+ # sord omit - no YARD type given for "options", using untyped
17332
+ # sord omit - no YARD return type given, using untyped
17333
+ def as_json: (?untyped options) -> untyped
17334
+
17335
+ # sord omit - no YARD type given for "as_json_options", using untyped
17336
+ # sord omit - no YARD return type given, using untyped
17337
+ def to_json: (?untyped as_json_options) -> untyped
16387
17338
  end
16388
17339
 
16389
17340
  class RequestObserverAction
@@ -16415,6 +17366,14 @@ module Api
16415
17366
  # sord omit - no YARD return type given, using untyped
16416
17367
  def to_h: () -> untyped
16417
17368
 
17369
+ # sord omit - no YARD type given for "options", using untyped
17370
+ # sord omit - no YARD return type given, using untyped
17371
+ def as_json: (?untyped options) -> untyped
17372
+
17373
+ # sord omit - no YARD type given for "as_json_options", using untyped
17374
+ # sord omit - no YARD return type given, using untyped
17375
+ def to_json: (?untyped as_json_options) -> untyped
17376
+
16418
17377
  # sord omit - no YARD type given for :actions, using untyped
16419
17378
  # required field readers
16420
17379
  attr_accessor actions: untyped
@@ -16448,6 +17407,14 @@ module Api
16448
17407
 
16449
17408
  # sord omit - no YARD return type given, using untyped
16450
17409
  def to_h: () -> untyped
17410
+
17411
+ # sord omit - no YARD type given for "options", using untyped
17412
+ # sord omit - no YARD return type given, using untyped
17413
+ def as_json: (?untyped options) -> untyped
17414
+
17415
+ # sord omit - no YARD type given for "as_json_options", using untyped
17416
+ # sord omit - no YARD return type given, using untyped
17417
+ def to_json: (?untyped as_json_options) -> untyped
16451
17418
  end
16452
17419
 
16453
17420
  class RequestStep
@@ -16482,6 +17449,14 @@ module Api
16482
17449
  # sord omit - no YARD return type given, using untyped
16483
17450
  def to_h: () -> untyped
16484
17451
 
17452
+ # sord omit - no YARD type given for "options", using untyped
17453
+ # sord omit - no YARD return type given, using untyped
17454
+ def as_json: (?untyped options) -> untyped
17455
+
17456
+ # sord omit - no YARD type given for "as_json_options", using untyped
17457
+ # sord omit - no YARD return type given, using untyped
17458
+ def to_json: (?untyped as_json_options) -> untyped
17459
+
16485
17460
  # sord omit - no YARD type given for :count, using untyped
16486
17461
  # optional field readers
16487
17462
  attr_accessor count: untyped
@@ -16519,6 +17494,14 @@ module Api
16519
17494
  # sord omit - no YARD return type given, using untyped
16520
17495
  def to_h: () -> untyped
16521
17496
 
17497
+ # sord omit - no YARD type given for "options", using untyped
17498
+ # sord omit - no YARD return type given, using untyped
17499
+ def as_json: (?untyped options) -> untyped
17500
+
17501
+ # sord omit - no YARD type given for "as_json_options", using untyped
17502
+ # sord omit - no YARD return type given, using untyped
17503
+ def to_json: (?untyped as_json_options) -> untyped
17504
+
16522
17505
  # sord omit - no YARD type given for :simulation_loop, using untyped
16523
17506
  # optional field readers
16524
17507
  attr_accessor simulation_loop: untyped
@@ -16574,6 +17557,14 @@ module Api
16574
17557
  # sord omit - no YARD return type given, using untyped
16575
17558
  def to_h: () -> untyped
16576
17559
 
17560
+ # sord omit - no YARD type given for "options", using untyped
17561
+ # sord omit - no YARD return type given, using untyped
17562
+ def as_json: (?untyped options) -> untyped
17563
+
17564
+ # sord omit - no YARD type given for "as_json_options", using untyped
17565
+ # sord omit - no YARD return type given, using untyped
17566
+ def to_json: (?untyped as_json_options) -> untyped
17567
+
16577
17568
  # sord omit - no YARD type given for :ability_id, using untyped
16578
17569
  # optional field readers
16579
17570
  attr_accessor ability_id: untyped
@@ -16634,6 +17625,14 @@ module Api
16634
17625
  # sord omit - no YARD return type given, using untyped
16635
17626
  def to_h: () -> untyped
16636
17627
 
17628
+ # sord omit - no YARD type given for "options", using untyped
17629
+ # sord omit - no YARD return type given, using untyped
17630
+ def as_json: (?untyped options) -> untyped
17631
+
17632
+ # sord omit - no YARD type given for "as_json_options", using untyped
17633
+ # sord omit - no YARD return type given, using untyped
17634
+ def to_json: (?untyped as_json_options) -> untyped
17635
+
16637
17636
  # sord omit - no YARD type given for :abilities, using untyped
16638
17637
  # required field readers
16639
17638
  attr_accessor abilities: untyped
@@ -16683,6 +17682,14 @@ module Api
16683
17682
 
16684
17683
  # sord omit - no YARD return type given, using untyped
16685
17684
  def to_h: () -> untyped
17685
+
17686
+ # sord omit - no YARD type given for "options", using untyped
17687
+ # sord omit - no YARD return type given, using untyped
17688
+ def as_json: (?untyped options) -> untyped
17689
+
17690
+ # sord omit - no YARD type given for "as_json_options", using untyped
17691
+ # sord omit - no YARD return type given, using untyped
17692
+ def to_json: (?untyped as_json_options) -> untyped
16686
17693
  end
16687
17694
 
16688
17695
  class ResponseSaveReplay
@@ -16717,6 +17724,14 @@ module Api
16717
17724
  # sord omit - no YARD return type given, using untyped
16718
17725
  def to_h: () -> untyped
16719
17726
 
17727
+ # sord omit - no YARD type given for "options", using untyped
17728
+ # sord omit - no YARD return type given, using untyped
17729
+ def as_json: (?untyped options) -> untyped
17730
+
17731
+ # sord omit - no YARD type given for "as_json_options", using untyped
17732
+ # sord omit - no YARD return type given, using untyped
17733
+ def to_json: (?untyped as_json_options) -> untyped
17734
+
16720
17735
  # sord omit - no YARD type given for :data, using untyped
16721
17736
  # optional field readers
16722
17737
  attr_accessor data: untyped
@@ -16756,6 +17771,14 @@ module Api
16756
17771
  # sord omit - no YARD return type given, using untyped
16757
17772
  def to_h: () -> untyped
16758
17773
 
17774
+ # sord omit - no YARD type given for "options", using untyped
17775
+ # sord omit - no YARD return type given, using untyped
17776
+ def as_json: (?untyped options) -> untyped
17777
+
17778
+ # sord omit - no YARD type given for "as_json_options", using untyped
17779
+ # sord omit - no YARD return type given, using untyped
17780
+ def to_json: (?untyped as_json_options) -> untyped
17781
+
16759
17782
  # sord omit - no YARD type given for :download_data, using untyped
16760
17783
  # optional field readers
16761
17784
  attr_accessor download_data: untyped
@@ -16819,6 +17842,14 @@ module Api
16819
17842
  # sord omit - no YARD return type given, using untyped
16820
17843
  def to_h: () -> untyped
16821
17844
 
17845
+ # sord omit - no YARD type given for "options", using untyped
17846
+ # sord omit - no YARD return type given, using untyped
17847
+ def as_json: (?untyped options) -> untyped
17848
+
17849
+ # sord omit - no YARD type given for "as_json_options", using untyped
17850
+ # sord omit - no YARD return type given, using untyped
17851
+ def to_json: (?untyped as_json_options) -> untyped
17852
+
16822
17853
  # sord omit - no YARD type given for :player_info, using untyped
16823
17854
  # optional field readers
16824
17855
  attr_accessor player_info: untyped
@@ -16900,6 +17931,8 @@ module Api
16900
17931
 
16901
17932
  def has_base_build?: () -> bool
16902
17933
 
17934
+ def has_error?: () -> bool
17935
+
16903
17936
  def has_error_details?: () -> bool
16904
17937
 
16905
17938
  # sord omit - no YARD type given for "buff", using untyped
@@ -16915,6 +17948,14 @@ module Api
16915
17948
  # sord omit - no YARD return type given, using untyped
16916
17949
  def to_h: () -> untyped
16917
17950
 
17951
+ # sord omit - no YARD type given for "options", using untyped
17952
+ # sord omit - no YARD return type given, using untyped
17953
+ def as_json: (?untyped options) -> untyped
17954
+
17955
+ # sord omit - no YARD type given for "as_json_options", using untyped
17956
+ # sord omit - no YARD return type given, using untyped
17957
+ def to_json: (?untyped as_json_options) -> untyped
17958
+
16918
17959
  # sord omit - no YARD type given for :player_info, using untyped
16919
17960
  # required field readers
16920
17961
  attr_accessor player_info: untyped
@@ -17001,6 +18042,14 @@ module Api
17001
18042
 
17002
18043
  # sord omit - no YARD return type given, using untyped
17003
18044
  def to_h: () -> untyped
18045
+
18046
+ # sord omit - no YARD type given for "options", using untyped
18047
+ # sord omit - no YARD return type given, using untyped
18048
+ def as_json: (?untyped options) -> untyped
18049
+
18050
+ # sord omit - no YARD type given for "as_json_options", using untyped
18051
+ # sord omit - no YARD return type given, using untyped
18052
+ def to_json: (?untyped as_json_options) -> untyped
17004
18053
  end
17005
18054
 
17006
18055
  class ResponseAvailableMaps
@@ -17033,6 +18082,14 @@ module Api
17033
18082
  # sord omit - no YARD return type given, using untyped
17034
18083
  def to_h: () -> untyped
17035
18084
 
18085
+ # sord omit - no YARD type given for "options", using untyped
18086
+ # sord omit - no YARD return type given, using untyped
18087
+ def as_json: (?untyped options) -> untyped
18088
+
18089
+ # sord omit - no YARD type given for "as_json_options", using untyped
18090
+ # sord omit - no YARD return type given, using untyped
18091
+ def to_json: (?untyped as_json_options) -> untyped
18092
+
17036
18093
  # sord omit - no YARD type given for :local_map_paths, using untyped
17037
18094
  # required field readers
17038
18095
  attr_accessor local_map_paths: untyped
@@ -17077,6 +18134,14 @@ module Api
17077
18134
  # sord omit - no YARD return type given, using untyped
17078
18135
  def to_h: () -> untyped
17079
18136
 
18137
+ # sord omit - no YARD type given for "options", using untyped
18138
+ # sord omit - no YARD return type given, using untyped
18139
+ def as_json: (?untyped options) -> untyped
18140
+
18141
+ # sord omit - no YARD type given for "as_json_options", using untyped
18142
+ # sord omit - no YARD return type given, using untyped
18143
+ def to_json: (?untyped as_json_options) -> untyped
18144
+
17080
18145
  # sord omit - no YARD type given for :map_path, using untyped
17081
18146
  # optional field readers
17082
18147
  attr_accessor map_path: untyped
@@ -17111,6 +18176,8 @@ module Api
17111
18176
  # sord omit - no YARD return type given, using untyped
17112
18177
  def to_proto: (?untyped _options) -> untyped
17113
18178
 
18179
+ def has_error?: () -> bool
18180
+
17114
18181
  # sord omit - no YARD type given for "buff", using untyped
17115
18182
  # sord omit - no YARD type given for "index", using untyped
17116
18183
  # sord omit - no YARD type given for "len", using untyped
@@ -17124,6 +18191,14 @@ module Api
17124
18191
  # sord omit - no YARD return type given, using untyped
17125
18192
  def to_h: () -> untyped
17126
18193
 
18194
+ # sord omit - no YARD type given for "options", using untyped
18195
+ # sord omit - no YARD return type given, using untyped
18196
+ def as_json: (?untyped options) -> untyped
18197
+
18198
+ # sord omit - no YARD type given for "as_json_options", using untyped
18199
+ # sord omit - no YARD return type given, using untyped
18200
+ def to_json: (?untyped as_json_options) -> untyped
18201
+
17127
18202
  module Error
17128
18203
  ENUM_RESPONSE_SAVE_MAP_ERROR_UNSET: untyped
17129
18204
  INVALID_MAP_DATA: untyped
@@ -17166,6 +18241,14 @@ module Api
17166
18241
 
17167
18242
  # sord omit - no YARD return type given, using untyped
17168
18243
  def to_h: () -> untyped
18244
+
18245
+ # sord omit - no YARD type given for "options", using untyped
18246
+ # sord omit - no YARD return type given, using untyped
18247
+ def as_json: (?untyped options) -> untyped
18248
+
18249
+ # sord omit - no YARD type given for "as_json_options", using untyped
18250
+ # sord omit - no YARD return type given, using untyped
18251
+ def to_json: (?untyped as_json_options) -> untyped
17169
18252
  end
17170
18253
 
17171
18254
  class ResponsePing
@@ -17214,6 +18297,14 @@ module Api
17214
18297
  # sord omit - no YARD return type given, using untyped
17215
18298
  def to_h: () -> untyped
17216
18299
 
18300
+ # sord omit - no YARD type given for "options", using untyped
18301
+ # sord omit - no YARD return type given, using untyped
18302
+ def as_json: (?untyped options) -> untyped
18303
+
18304
+ # sord omit - no YARD type given for "as_json_options", using untyped
18305
+ # sord omit - no YARD return type given, using untyped
18306
+ def to_json: (?untyped as_json_options) -> untyped
18307
+
17217
18308
  # sord omit - no YARD type given for :game_version, using untyped
17218
18309
  # optional field readers
17219
18310
  attr_accessor game_version: untyped
@@ -17260,6 +18351,14 @@ module Api
17260
18351
  # sord omit - no YARD return type given, using untyped
17261
18352
  def to_h: () -> untyped
17262
18353
 
18354
+ # sord omit - no YARD type given for "options", using untyped
18355
+ # sord omit - no YARD return type given, using untyped
18356
+ def as_json: (?untyped options) -> untyped
18357
+
18358
+ # sord omit - no YARD type given for "as_json_options", using untyped
18359
+ # sord omit - no YARD return type given, using untyped
18360
+ def to_json: (?untyped as_json_options) -> untyped
18361
+
17263
18362
  # sord omit - no YARD type given for :debug, using untyped
17264
18363
  # required field readers
17265
18364
  attr_accessor debug: untyped
@@ -17293,6 +18392,14 @@ module Api
17293
18392
 
17294
18393
  # sord omit - no YARD return type given, using untyped
17295
18394
  def to_h: () -> untyped
18395
+
18396
+ # sord omit - no YARD type given for "options", using untyped
18397
+ # sord omit - no YARD return type given, using untyped
18398
+ def as_json: (?untyped options) -> untyped
18399
+
18400
+ # sord omit - no YARD type given for "as_json_options", using untyped
18401
+ # sord omit - no YARD return type given, using untyped
18402
+ def to_json: (?untyped as_json_options) -> untyped
17296
18403
  end
17297
18404
 
17298
18405
  class PlayerSetup
@@ -17352,8 +18459,16 @@ module Api
17352
18459
  # sord omit - no YARD return type given, using untyped
17353
18460
  def to_proto: (?untyped _options) -> untyped
17354
18461
 
18462
+ def has_type?: () -> bool
18463
+
18464
+ def has_race?: () -> bool
18465
+
18466
+ def has_difficulty?: () -> bool
18467
+
17355
18468
  def has_player_name?: () -> bool
17356
18469
 
18470
+ def has_ai_build?: () -> bool
18471
+
17357
18472
  # sord omit - no YARD type given for "buff", using untyped
17358
18473
  # sord omit - no YARD type given for "index", using untyped
17359
18474
  # sord omit - no YARD type given for "len", using untyped
@@ -17367,6 +18482,14 @@ module Api
17367
18482
  # sord omit - no YARD return type given, using untyped
17368
18483
  def to_h: () -> untyped
17369
18484
 
18485
+ # sord omit - no YARD type given for "options", using untyped
18486
+ # sord omit - no YARD return type given, using untyped
18487
+ def as_json: (?untyped options) -> untyped
18488
+
18489
+ # sord omit - no YARD type given for "as_json_options", using untyped
18490
+ # sord omit - no YARD return type given, using untyped
18491
+ def to_json: (?untyped as_json_options) -> untyped
18492
+
17370
18493
  # sord omit - no YARD type given for :player_name, using untyped
17371
18494
  # optional field readers
17372
18495
  attr_accessor player_name: untyped
@@ -17422,6 +18545,14 @@ module Api
17422
18545
  # sord omit - no YARD return type given, using untyped
17423
18546
  def to_h: () -> untyped
17424
18547
 
18548
+ # sord omit - no YARD type given for "options", using untyped
18549
+ # sord omit - no YARD return type given, using untyped
18550
+ def as_json: (?untyped options) -> untyped
18551
+
18552
+ # sord omit - no YARD type given for "as_json_options", using untyped
18553
+ # sord omit - no YARD return type given, using untyped
18554
+ def to_json: (?untyped as_json_options) -> untyped
18555
+
17425
18556
  # sord omit - no YARD type given for :resolution, using untyped
17426
18557
  # optional field readers
17427
18558
  attr_accessor resolution: untyped
@@ -17509,6 +18640,14 @@ module Api
17509
18640
  # sord omit - no YARD return type given, using untyped
17510
18641
  def to_h: () -> untyped
17511
18642
 
18643
+ # sord omit - no YARD type given for "options", using untyped
18644
+ # sord omit - no YARD return type given, using untyped
18645
+ def as_json: (?untyped options) -> untyped
18646
+
18647
+ # sord omit - no YARD type given for "as_json_options", using untyped
18648
+ # sord omit - no YARD return type given, using untyped
18649
+ def to_json: (?untyped as_json_options) -> untyped
18650
+
17512
18651
  # sord omit - no YARD type given for :raw, using untyped
17513
18652
  # optional field readers
17514
18653
  attr_accessor raw: untyped
@@ -17616,6 +18755,16 @@ module Api
17616
18755
 
17617
18756
  def has_player_id?: () -> bool
17618
18757
 
18758
+ def has_type?: () -> bool
18759
+
18760
+ def has_race_requested?: () -> bool
18761
+
18762
+ def has_race_actual?: () -> bool
18763
+
18764
+ def has_difficulty?: () -> bool
18765
+
18766
+ def has_ai_build?: () -> bool
18767
+
17619
18768
  def has_player_name?: () -> bool
17620
18769
 
17621
18770
  # sord omit - no YARD type given for "buff", using untyped
@@ -17631,6 +18780,14 @@ module Api
17631
18780
  # sord omit - no YARD return type given, using untyped
17632
18781
  def to_h: () -> untyped
17633
18782
 
18783
+ # sord omit - no YARD type given for "options", using untyped
18784
+ # sord omit - no YARD return type given, using untyped
18785
+ def as_json: (?untyped options) -> untyped
18786
+
18787
+ # sord omit - no YARD type given for "as_json_options", using untyped
18788
+ # sord omit - no YARD return type given, using untyped
18789
+ def to_json: (?untyped as_json_options) -> untyped
18790
+
17634
18791
  # sord omit - no YARD type given for :player_id, using untyped
17635
18792
  # optional field readers
17636
18793
  attr_accessor player_id: untyped
@@ -17714,6 +18871,14 @@ module Api
17714
18871
  # sord omit - no YARD return type given, using untyped
17715
18872
  def to_h: () -> untyped
17716
18873
 
18874
+ # sord omit - no YARD type given for "options", using untyped
18875
+ # sord omit - no YARD return type given, using untyped
18876
+ def as_json: (?untyped options) -> untyped
18877
+
18878
+ # sord omit - no YARD type given for "as_json_options", using untyped
18879
+ # sord omit - no YARD return type given, using untyped
18880
+ def to_json: (?untyped as_json_options) -> untyped
18881
+
17717
18882
  # sord omit - no YARD type given for :player_id, using untyped
17718
18883
  # optional field readers
17719
18884
  attr_accessor player_id: untyped
@@ -17830,6 +18995,14 @@ module Api
17830
18995
  # sord omit - no YARD return type given, using untyped
17831
18996
  def to_h: () -> untyped
17832
18997
 
18998
+ # sord omit - no YARD type given for "options", using untyped
18999
+ # sord omit - no YARD return type given, using untyped
19000
+ def as_json: (?untyped options) -> untyped
19001
+
19002
+ # sord omit - no YARD type given for "as_json_options", using untyped
19003
+ # sord omit - no YARD return type given, using untyped
19004
+ def to_json: (?untyped as_json_options) -> untyped
19005
+
17833
19006
  # sord omit - no YARD type given for :abilities, using untyped
17834
19007
  # required field readers
17835
19008
  attr_accessor abilities: untyped
@@ -17919,6 +19092,14 @@ module Api
17919
19092
  # sord omit - no YARD return type given, using untyped
17920
19093
  def to_h: () -> untyped
17921
19094
 
19095
+ # sord omit - no YARD type given for "options", using untyped
19096
+ # sord omit - no YARD return type given, using untyped
19097
+ def as_json: (?untyped options) -> untyped
19098
+
19099
+ # sord omit - no YARD type given for "as_json_options", using untyped
19100
+ # sord omit - no YARD return type given, using untyped
19101
+ def to_json: (?untyped as_json_options) -> untyped
19102
+
17922
19103
  # Checks the action type and returns corresponding class
17923
19104
  #
17924
19105
  # _@return_ — class of type, i.e. Api::ActionRaw
@@ -17986,6 +19167,8 @@ module Api
17986
19167
  # sord omit - no YARD return type given, using untyped
17987
19168
  def to_proto: (?untyped _options) -> untyped
17988
19169
 
19170
+ def has_channel?: () -> bool
19171
+
17989
19172
  def has_message?: () -> bool
17990
19173
 
17991
19174
  # sord omit - no YARD type given for "buff", using untyped
@@ -18001,6 +19184,14 @@ module Api
18001
19184
  # sord omit - no YARD return type given, using untyped
18002
19185
  def to_h: () -> untyped
18003
19186
 
19187
+ # sord omit - no YARD type given for "options", using untyped
19188
+ # sord omit - no YARD return type given, using untyped
19189
+ def as_json: (?untyped options) -> untyped
19190
+
19191
+ # sord omit - no YARD type given for "as_json_options", using untyped
19192
+ # sord omit - no YARD return type given, using untyped
19193
+ def to_json: (?untyped as_json_options) -> untyped
19194
+
18004
19195
  # sord omit - no YARD type given for :message, using untyped
18005
19196
  # optional field readers
18006
19197
  attr_accessor message: untyped
@@ -18055,6 +19246,8 @@ module Api
18055
19246
 
18056
19247
  def has_ability_id?: () -> bool
18057
19248
 
19249
+ def has_result?: () -> bool
19250
+
18058
19251
  # sord omit - no YARD type given for "buff", using untyped
18059
19252
  # sord omit - no YARD type given for "index", using untyped
18060
19253
  # sord omit - no YARD type given for "len", using untyped
@@ -18068,6 +19261,14 @@ module Api
18068
19261
  # sord omit - no YARD return type given, using untyped
18069
19262
  def to_h: () -> untyped
18070
19263
 
19264
+ # sord omit - no YARD type given for "options", using untyped
19265
+ # sord omit - no YARD return type given, using untyped
19266
+ def as_json: (?untyped options) -> untyped
19267
+
19268
+ # sord omit - no YARD type given for "as_json_options", using untyped
19269
+ # sord omit - no YARD return type given, using untyped
19270
+ def to_json: (?untyped as_json_options) -> untyped
19271
+
18071
19272
  # sord omit - no YARD type given for :unit_tag, using untyped
18072
19273
  # optional field readers
18073
19274
  attr_accessor unit_tag: untyped
@@ -18115,6 +19316,14 @@ module Api
18115
19316
  # sord omit - no YARD return type given, using untyped
18116
19317
  def to_h: () -> untyped
18117
19318
 
19319
+ # sord omit - no YARD type given for "options", using untyped
19320
+ # sord omit - no YARD return type given, using untyped
19321
+ def as_json: (?untyped options) -> untyped
19322
+
19323
+ # sord omit - no YARD type given for "as_json_options", using untyped
19324
+ # sord omit - no YARD return type given, using untyped
19325
+ def to_json: (?untyped as_json_options) -> untyped
19326
+
18118
19327
  # sord omit - no YARD type given for :action, using untyped
18119
19328
  # oneof field readers
18120
19329
  attr_reader action: untyped
@@ -18168,6 +19377,14 @@ module Api
18168
19377
  # sord omit - no YARD return type given, using untyped
18169
19378
  def to_h: () -> untyped
18170
19379
 
19380
+ # sord omit - no YARD type given for "options", using untyped
19381
+ # sord omit - no YARD return type given, using untyped
19382
+ def as_json: (?untyped options) -> untyped
19383
+
19384
+ # sord omit - no YARD type given for "as_json_options", using untyped
19385
+ # sord omit - no YARD return type given, using untyped
19386
+ def to_json: (?untyped as_json_options) -> untyped
19387
+
18171
19388
  # sord omit - no YARD type given for :player_id, using untyped
18172
19389
  # optional field readers
18173
19390
  attr_accessor player_id: untyped
@@ -18208,6 +19425,14 @@ module Api
18208
19425
  # sord omit - no YARD return type given, using untyped
18209
19426
  def to_h: () -> untyped
18210
19427
 
19428
+ # sord omit - no YARD type given for "options", using untyped
19429
+ # sord omit - no YARD return type given, using untyped
19430
+ def as_json: (?untyped options) -> untyped
19431
+
19432
+ # sord omit - no YARD type given for "as_json_options", using untyped
19433
+ # sord omit - no YARD return type given, using untyped
19434
+ def to_json: (?untyped as_json_options) -> untyped
19435
+
18211
19436
  # sord omit - no YARD type given for :world_pos, using untyped
18212
19437
  # optional field readers
18213
19438
  attr_accessor world_pos: untyped
@@ -18249,6 +19474,14 @@ module Api
18249
19474
  # sord omit - no YARD return type given, using untyped
18250
19475
  def to_h: () -> untyped
18251
19476
 
19477
+ # sord omit - no YARD type given for "options", using untyped
19478
+ # sord omit - no YARD return type given, using untyped
19479
+ def as_json: (?untyped options) -> untyped
19480
+
19481
+ # sord omit - no YARD type given for "as_json_options", using untyped
19482
+ # sord omit - no YARD return type given, using untyped
19483
+ def to_json: (?untyped as_json_options) -> untyped
19484
+
18252
19485
  # sord omit - no YARD type given for :player_id, using untyped
18253
19486
  # optional field readers
18254
19487
  attr_accessor player_id: untyped
@@ -18283,6 +19516,14 @@ module Api
18283
19516
  # sord omit - no YARD return type given, using untyped
18284
19517
  def to_h: () -> untyped
18285
19518
 
19519
+ # sord omit - no YARD type given for "options", using untyped
19520
+ # sord omit - no YARD return type given, using untyped
19521
+ def as_json: (?untyped options) -> untyped
19522
+
19523
+ # sord omit - no YARD type given for "as_json_options", using untyped
19524
+ # sord omit - no YARD return type given, using untyped
19525
+ def to_json: (?untyped as_json_options) -> untyped
19526
+
18286
19527
  # sord omit - no YARD type given for :unit_tags, using untyped
18287
19528
  # required field readers
18288
19529
  attr_accessor unit_tags: untyped
@@ -18317,6 +19558,8 @@ module Api
18317
19558
 
18318
19559
  def has_player_id?: () -> bool
18319
19560
 
19561
+ def has_result?: () -> bool
19562
+
18320
19563
  # sord omit - no YARD type given for "buff", using untyped
18321
19564
  # sord omit - no YARD type given for "index", using untyped
18322
19565
  # sord omit - no YARD type given for "len", using untyped
@@ -18330,6 +19573,14 @@ module Api
18330
19573
  # sord omit - no YARD return type given, using untyped
18331
19574
  def to_h: () -> untyped
18332
19575
 
19576
+ # sord omit - no YARD type given for "options", using untyped
19577
+ # sord omit - no YARD return type given, using untyped
19578
+ def as_json: (?untyped options) -> untyped
19579
+
19580
+ # sord omit - no YARD type given for "as_json_options", using untyped
19581
+ # sord omit - no YARD return type given, using untyped
19582
+ def to_json: (?untyped as_json_options) -> untyped
19583
+
18333
19584
  # sord omit - no YARD type given for :player_id, using untyped
18334
19585
  # optional field readers
18335
19586
  attr_accessor player_id: untyped
@@ -18370,6 +19621,14 @@ module Api
18370
19621
  # sord omit - no YARD return type given, using untyped
18371
19622
  def to_h: () -> untyped
18372
19623
 
19624
+ # sord omit - no YARD type given for "options", using untyped
19625
+ # sord omit - no YARD return type given, using untyped
19626
+ def as_json: (?untyped options) -> untyped
19627
+
19628
+ # sord omit - no YARD type given for "as_json_options", using untyped
19629
+ # sord omit - no YARD return type given, using untyped
19630
+ def to_json: (?untyped as_json_options) -> untyped
19631
+
18373
19632
  # sord omit - no YARD type given for :renders, using untyped
18374
19633
  # optional field readers
18375
19634
  attr_accessor renders: untyped
@@ -18517,6 +19776,14 @@ module Api
18517
19776
  # sord omit - no YARD return type given, using untyped
18518
19777
  def to_h: () -> untyped
18519
19778
 
19779
+ # sord omit - no YARD type given for "options", using untyped
19780
+ # sord omit - no YARD return type given, using untyped
19781
+ def as_json: (?untyped options) -> untyped
19782
+
19783
+ # sord omit - no YARD type given for "as_json_options", using untyped
19784
+ # sord omit - no YARD return type given, using untyped
19785
+ def to_json: (?untyped as_json_options) -> untyped
19786
+
18520
19787
  # sord omit - no YARD type given for :height_map, using untyped
18521
19788
  # optional field readers
18522
19789
  attr_accessor height_map: untyped
@@ -18700,6 +19967,14 @@ module Api
18700
19967
  # sord omit - no YARD return type given, using untyped
18701
19968
  def to_h: () -> untyped
18702
19969
 
19970
+ # sord omit - no YARD type given for "options", using untyped
19971
+ # sord omit - no YARD return type given, using untyped
19972
+ def as_json: (?untyped options) -> untyped
19973
+
19974
+ # sord omit - no YARD type given for "as_json_options", using untyped
19975
+ # sord omit - no YARD return type given, using untyped
19976
+ def to_json: (?untyped as_json_options) -> untyped
19977
+
18703
19978
  # sord omit - no YARD type given for :height_map, using untyped
18704
19979
  # optional field readers
18705
19980
  attr_accessor height_map: untyped
@@ -18780,6 +20055,14 @@ module Api
18780
20055
  # sord omit - no YARD return type given, using untyped
18781
20056
  def to_h: () -> untyped
18782
20057
 
20058
+ # sord omit - no YARD type given for "options", using untyped
20059
+ # sord omit - no YARD return type given, using untyped
20060
+ def as_json: (?untyped options) -> untyped
20061
+
20062
+ # sord omit - no YARD type given for "as_json_options", using untyped
20063
+ # sord omit - no YARD return type given, using untyped
20064
+ def to_json: (?untyped as_json_options) -> untyped
20065
+
18783
20066
  # sord omit - no YARD type given for :map, using untyped
18784
20067
  # optional field readers
18785
20068
  attr_accessor map: untyped
@@ -18827,6 +20110,14 @@ module Api
18827
20110
  # sord omit - no YARD return type given, using untyped
18828
20111
  def to_h: () -> untyped
18829
20112
 
20113
+ # sord omit - no YARD type given for "options", using untyped
20114
+ # sord omit - no YARD return type given, using untyped
20115
+ def as_json: (?untyped options) -> untyped
20116
+
20117
+ # sord omit - no YARD type given for "as_json_options", using untyped
20118
+ # sord omit - no YARD return type given, using untyped
20119
+ def to_json: (?untyped as_json_options) -> untyped
20120
+
18830
20121
  # sord omit - no YARD type given for :action, using untyped
18831
20122
  # oneof field readers
18832
20123
  attr_reader action: untyped
@@ -18893,6 +20184,14 @@ module Api
18893
20184
  # sord omit - no YARD return type given, using untyped
18894
20185
  def to_h: () -> untyped
18895
20186
 
20187
+ # sord omit - no YARD type given for "options", using untyped
20188
+ # sord omit - no YARD return type given, using untyped
20189
+ def as_json: (?untyped options) -> untyped
20190
+
20191
+ # sord omit - no YARD type given for "as_json_options", using untyped
20192
+ # sord omit - no YARD return type given, using untyped
20193
+ def to_json: (?untyped as_json_options) -> untyped
20194
+
18896
20195
  # sord omit - no YARD type given for :ability_id, using untyped
18897
20196
  # optional field readers
18898
20197
  attr_accessor ability_id: untyped
@@ -18946,6 +20245,14 @@ module Api
18946
20245
  # sord omit - no YARD return type given, using untyped
18947
20246
  def to_h: () -> untyped
18948
20247
 
20248
+ # sord omit - no YARD type given for "options", using untyped
20249
+ # sord omit - no YARD return type given, using untyped
20250
+ def as_json: (?untyped options) -> untyped
20251
+
20252
+ # sord omit - no YARD type given for "as_json_options", using untyped
20253
+ # sord omit - no YARD return type given, using untyped
20254
+ def to_json: (?untyped as_json_options) -> untyped
20255
+
18949
20256
  # sord omit - no YARD type given for :center_minimap, using untyped
18950
20257
  # optional field readers
18951
20258
  attr_accessor center_minimap: untyped
@@ -18980,6 +20287,8 @@ module Api
18980
20287
 
18981
20288
  def has_selection_screen_coord?: () -> bool
18982
20289
 
20290
+ def has_type?: () -> bool
20291
+
18983
20292
  # sord omit - no YARD type given for "buff", using untyped
18984
20293
  # sord omit - no YARD type given for "index", using untyped
18985
20294
  # sord omit - no YARD type given for "len", using untyped
@@ -18993,6 +20302,14 @@ module Api
18993
20302
  # sord omit - no YARD return type given, using untyped
18994
20303
  def to_h: () -> untyped
18995
20304
 
20305
+ # sord omit - no YARD type given for "options", using untyped
20306
+ # sord omit - no YARD return type given, using untyped
20307
+ def as_json: (?untyped options) -> untyped
20308
+
20309
+ # sord omit - no YARD type given for "as_json_options", using untyped
20310
+ # sord omit - no YARD return type given, using untyped
20311
+ def to_json: (?untyped as_json_options) -> untyped
20312
+
18996
20313
  # sord omit - no YARD type given for :selection_screen_coord, using untyped
18997
20314
  # optional field readers
18998
20315
  attr_accessor selection_screen_coord: untyped
@@ -19047,6 +20364,14 @@ module Api
19047
20364
  # sord omit - no YARD return type given, using untyped
19048
20365
  def to_h: () -> untyped
19049
20366
 
20367
+ # sord omit - no YARD type given for "options", using untyped
20368
+ # sord omit - no YARD return type given, using untyped
20369
+ def as_json: (?untyped options) -> untyped
20370
+
20371
+ # sord omit - no YARD type given for "as_json_options", using untyped
20372
+ # sord omit - no YARD return type given, using untyped
20373
+ def to_json: (?untyped as_json_options) -> untyped
20374
+
19050
20375
  # sord omit - no YARD type given for :selection_screen_coord, using untyped
19051
20376
  # required field readers
19052
20377
  attr_accessor selection_screen_coord: untyped
@@ -19666,6 +20991,19 @@ module Api
19666
20991
  # _@param_ `distance` — The distance to move.
19667
20992
  def away_from: (Api::Point2D other, Float distance) -> Api::Point2D
19668
20993
 
20994
+ # sord warn - "Array[Float,Float]" does not appear to be a type
20995
+ # Returns [x,y] array tuple
20996
+ def to_axy: () -> SORD_ERROR_ArrayFloatFloat
20997
+
20998
+ # Returns [x,y] array tuple where floats are cast to ints
20999
+ # Useful when trying to find the tile which something is on
21000
+ #
21001
+ # _@return_ — Array<Integer, Integer>
21002
+ def to_atile: () -> ::Array[(Integer | Integer)]
21003
+
21004
+ # sord omit - no YARD return type given, using untyped
21005
+ def to_s: () -> untyped
21006
+
19669
21007
  # Adds additional functionality to message class Api::PowerSource
19670
21008
  module ClassMethods
19671
21009
  # Shorthand for creating an instance for [x, y, z]