forValue static method

PlayerSDKLatencyPreset forValue(
  1. int id
)

Implementation

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