Unit.getPublicData

Returns (server) public data from a unit.

Kind: Function

Environments: Game

Game

unit:getPublicData(  )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
unit Unit The unit.

Returns:

Type Description
table The public data.