MLAPI/docs/M_MLAPI_NetworkingManagerComponents_MessageChunker_HasDuplicates.md
2018-03-31 10:20:18 +02:00

1.2 KiB

MessageChunker.HasDuplicates 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)

Syntax

C#

public static bool HasDuplicates(
	ref List<byte[]> chunks,
	uint expectedChunksCount
)

Parameters

 

chunks
Type: System.Collections.Generic.List(Byte[])
The list of chunks
expectedChunksCount
Type: System.UInt32
The expected amount of chunks

Return Value

Type: Boolean
If a list of chunks has duplicate chunks in it

See Also

Reference

MessageChunker Class
MLAPI.NetworkingManagerComponents Namespace