Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerbaseComponent

Marks an entity as the base of a faction. Every faction must have exactly one playerbase. The playerbase is shown in the game as "Crystal Storage", however its called playerbase internally.

Hierarchy

Index

Constructors

constructor

Methods

deserialize

  • deserialize(data: any): any

getDebugString

  • getDebugString(): any
  • Returns a string representing the components data, only in dev builds

    Returns any

serialize

  • serialize(): object

Static getCachedSchema

  • getCachedSchema(): any

Static getId

  • getId(): string
  • Returns string

Static getSchema

  • getSchema(): object

Static verify

  • verify(data: any): string