forValue static method

PlayerSDKRecordStat forValue(
  1. int id
)

Implementation

static PlayerSDKRecordStat forValue(int id) {
  PlayerSDKRecordStat ret = PlayerSDKRecordStat.LastError;
  for (PlayerSDKRecordStat item in _typesByValue) {
    if (item.value == id) { return item; }
  }
  return ret;
}