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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setData(String eventName, String gameSpecificMessage, int matchNumber, int replayNumber, int matchType)
Called from JNI to set the structure data.
-
-
-
Field Detail
-
gameSpecificMessage
public String gameSpecificMessage
Stores the game specific message.
-
matchNumber
public int matchNumber
Stores the match number.
-
replayNumber
public int replayNumber
Stores the replay number.
-
matchType
public int matchType
Stores the match type.
-
-
Constructor Detail
-
MatchInfoData
public MatchInfoData()
-
-
Method Detail
-
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.
-
-