Package com.heroiclabs.nakama.rtapi
Interface MatchDataSendOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MatchDataSend
,MatchDataSend.Builder
public interface MatchDataSendOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
getData()
Data payload, if any.The match unique ID.com.google.protobuf.ByteString
The match unique ID.long
Op code value.getPresences
(int index) List of presences in the match to deliver to, if filtering is required.int
List of presences in the match to deliver to, if filtering is required.List of presences in the match to deliver to, if filtering is required.getPresencesOrBuilder
(int index) List of presences in the match to deliver to, if filtering is required.List<? extends UserPresenceOrBuilder>
List of presences in the match to deliver to, if filtering is required.boolean
True if the data should be sent reliably, false otherwise.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMatchId
String getMatchId()The match unique ID.
string match_id = 1;
- Returns:
- The matchId.
-
getMatchIdBytes
com.google.protobuf.ByteString getMatchIdBytes()The match unique ID.
string match_id = 1;
- Returns:
- The bytes for matchId.
-
getOpCode
long getOpCode()Op code value.
int64 op_code = 2;
- Returns:
- The opCode.
-
getData
com.google.protobuf.ByteString getData()Data payload, if any.
bytes data = 3;
- Returns:
- The data.
-
getPresencesList
List<UserPresence> getPresencesList()List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match.
repeated .nakama.realtime.UserPresence presences = 4;
-
getPresences
List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match.
repeated .nakama.realtime.UserPresence presences = 4;
-
getPresencesCount
int getPresencesCount()List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match.
repeated .nakama.realtime.UserPresence presences = 4;
-
getPresencesOrBuilderList
List<? extends UserPresenceOrBuilder> getPresencesOrBuilderList()List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match.
repeated .nakama.realtime.UserPresence presences = 4;
-
getPresencesOrBuilder
List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match.
repeated .nakama.realtime.UserPresence presences = 4;
-
getReliable
boolean getReliable()True if the data should be sent reliably, false otherwise.
bool reliable = 5;
- Returns:
- The reliable.
-