Package com.heroiclabs.nakama.rtapi
Interface MatchPresenceEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MatchPresenceEvent
,MatchPresenceEvent.Builder
public interface MatchPresenceEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetJoins
(int index) User presences that have just joined the match.int
User presences that have just joined the match.User presences that have just joined the match.getJoinsOrBuilder
(int index) User presences that have just joined the match.List<? extends UserPresenceOrBuilder>
User presences that have just joined the match.getLeaves
(int index) User presences that have just left the match.int
User presences that have just left the match.User presences that have just left the match.getLeavesOrBuilder
(int index) User presences that have just left the match.List<? extends UserPresenceOrBuilder>
User presences that have just left the match.The match unique ID.com.google.protobuf.ByteString
The match unique ID.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.
-
getJoinsList
List<UserPresence> getJoinsList()User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoins
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoinsCount
int getJoinsCount()User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoinsOrBuilderList
List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoinsOrBuilder
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2;
-
getLeavesList
List<UserPresence> getLeavesList()User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeaves
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeavesCount
int getLeavesCount()User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeavesOrBuilderList
List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeavesOrBuilder
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3;
-