Package edu.wpi.first.hal
Class MatchInfoData
java.lang.Object
edu.wpi.first.hal.MatchInfoData
public class MatchInfoData extends Object
Structure for holding the match info data request.
-
Field Summary
Fields Modifier and Type Field Description String
eventName
Stores the event name.String
gameSpecificMessage
Stores the game specific message.int
matchNumber
Stores the match number.int
matchType
Stores the match type.int
replayNumber
Stores the replay number. -
Constructor Summary
Constructors Constructor Description MatchInfoData()
Default constructor. -
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.
-