Diarkis MatchMaker を使って検索可能なアイテムを削除する

マッチメイキングからアイテムを削除する方法

: "remove" の処理負荷は高いので、なるべく TTL や "add" を使うことをお勧めします。

NOTE: この処理は HTTP, TCP, UDP/RUDP のどこにでも実装することが可能です。

// match-making definition name to remove items from
matchingName := "levelAndRank"

// Unique ID list of items to be removed
idlist := []string{ roomIDA, roomIDB }

// relayLimit is the number of server nodes to send the data to at a time:
// Greater the value, the faster and more CPU intense it is
relayLimit := 2

matching.Remove(matchingName, idlist, relayLimit)