MessageChunkerHasDuplicates Method |
Checks if a list of chunks have any duplicates inside of it
Namespace:
MLAPI.NetworkingManagerComponents
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool HasDuplicates(
ref List<byte[]> chunks,
uint expectedChunksCount
)
Parameters
- chunks
- Type: System.Collections.GenericListByte
The list of chunks - expectedChunksCount
- Type: SystemUInt32
The expected amount of chunks
Return Value
Type:
BooleanIf a list of chunks has duplicate chunks in it
See Also