GetFallbackMap() public method

public GetFallbackMap ( ) : byte[]
return byte[]
コード例 #1
0
 byte[] GetCompressedBlocks(Map map) {
 	bool customBlocks = Supports(CpeExtension.CustomBlocks);
 	if (customBlocks && Supports(CpeExtension.BlockDefinitions))
 		return map.GetCompressedCopy(map.Blocks);
 	
 	byte[] blocks = customBlocks ? 
 		map.GetCPEFallbackMap() : map.GetFallbackMap();
 	return Map.MakeCompressedMap(blocks);
 }