GameObject constructor

GameObject(
  1. int? id
)

Implementation

GameObject(this.id) {
  _address = _getObjectAddress();

  shortName = _address != 0 ? _getObjectShortName() : '';

  if (id == 0) return;
  _readFlags();
}