NakamaWebsocketClient class
Methods
-
addMatchmaker({required int minCount, int? maxCount, String? query, Map<String, double>? numericProperties, Map<String, String>? stringProperties})
→ Future<MatchmakerTicket>
-
-
addMatchmakerParty({required String partyId, required int minCount, int? maxCount, String? query, Map<String, double>? numericProperties, Map<String, String>? stringProperties})
→ Future<PartyMatchmakerTicket>
-
-
close()
→ Future<void>
-
-
createMatch([String? name])
→ Future<Match>
-
-
createParty({int? maxSize, bool? open})
→ Future<Party>
-
Creating parties
-
followUsers({List<String>? userIds, List<String>? usernames})
→ Future<List<UserPresence>>
-
-
joinChannel({required String target, required ChannelType type, required bool persistence, required bool hidden})
→ Future<Channel>
-
-
joinMatch(String matchId, {String? token})
→ Future<Match>
-
-
joinParty(String partyId)
→ Future<Party>
-
-
leaveChannel({required String channelId})
→ Future<void>
-
-
leaveMatch(String matchId)
→ Future<void>
-
-
leaveParty(String partyId)
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
promotePartyMember({required String partyId, required UserPresence newLeader})
→ Future<void>
-
-
removeMatchmaker(String ticket)
→ Future<void>
-
-
rpc({required String id, String? payload})
→ Future<Rpc>
-
-
sendMatchData({required String matchId, required Int64 opCode, required List<int> data})
→ void
-
-
sendMessage({required String channelId, required Map<String, String> content})
→ Future<ChannelMessageAck>
-
-
sendPartyData({required String partyId, required Int64 opCode, required List<int> data})
→ Future<List<UserPresence>>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unfollowUsers({List<String>? userIds})
→ Future<List<UserPresence>>
-
-
updateMessage({required String channelId, required String messageId, required Map<String, String> content})
→ Future<ChannelMessageAck>
-
-
updateStatus(String status)
→ Future
-