ContentBuildInterface.CalculatePlayerSerializationHashForType

Declaration

public static Hash128 CalculatePlayerSerializationHashForType(Type type, Build.Player.TypeDB typeDB);

Parameters

type The type of the object.
typeDB The user script TypeDB for the player.

Returns

Hash128 The unique hash for a type's serialized layout.

Description

Returns a unique hash for a given type's serialized layout.

Passing in null will provide a hash for the serialized layout of the type as it exists in the editor, passing in a valid TypeDB for a player will provide a hash for the layout as it exists in the player.

Internal use only. See note on ContentBuildInterface.


Did you find this page useful? Please give it a rating: