Package edu.wpi.first.hal
Class MatchInfoData
java.lang.Object
edu.wpi.first.hal.MatchInfoData
Structure for holding the match info data request.
-
Field Summary
Modifier and TypeFieldDescriptionStores the event name.Stores the game specific message.int
Stores the match number.int
Stores the match type.int
Stores the replay number. -
Constructor Summary
-
Method Summary
-
Field Details
-
eventName
Stores the event name. -
gameSpecificMessage
Stores the game specific message. -
matchNumber
Stores the match number. -
replayNumber
Stores the replay number. -
matchType
Stores the match type.
-
-
Constructor Details
-
MatchInfoData
public MatchInfoData()Default constructor.
-
-
Method Details
-
setData
public void setData(String eventName, String gameSpecificMessage, int matchNumber, int replayNumber, int matchType) Called from JNI to set the structure data.- Parameters:
eventName
- Event name.gameSpecificMessage
- Game-specific message.matchNumber
- Match number.replayNumber
- Replay number.matchType
- Match type.
-