mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
[hal,wpilib] Switch to new game data (#8584)
Game data is now limited to 8 bytes, and comes through the UDP packets.
This commit is contained in:
@@ -519,7 +519,7 @@ class DriverStation final {
|
||||
*
|
||||
* @return A string containing the game specific message.
|
||||
*/
|
||||
static std::string GetGameSpecificMessage();
|
||||
static std::optional<std::string> GetGameData();
|
||||
|
||||
/**
|
||||
* Returns the name of the competition event provided by the FMS.
|
||||
|
||||
@@ -419,7 +419,7 @@ class DriverStationSim {
|
||||
*
|
||||
* @param message the game specific message
|
||||
*/
|
||||
static void SetGameSpecificMessage(std::string_view message);
|
||||
static void SetGameData(std::string_view message);
|
||||
|
||||
/**
|
||||
* Sets the event name.
|
||||
|
||||
Reference in New Issue
Block a user