Struct GameProtocolVersion
The game specific version to use for protocol validation when the client and server connects. If a singleton with this component does not exist 0 will be used instead. Protocol validation will still validate the NetCodeVersion, RpcCollectionVersion and ComponentCollectionVersion.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct GameProtocolVersion : IComponentData, IQueryTypeParameter
Fields
Version
An user defined integer that identify the current game version.
Declaration
public int Version
Field Value
Type | Description |
---|---|
int |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter