ESteamNetworkingSocketsDebugOutputType.fromValue constructor
ESteamNetworkingSocketsDebugOutputType.fromValue(
- int value
Implementation
factory ESteamNetworkingSocketsDebugOutputType.fromValue(int value) {
switch (value) {
case 0:
return ESteamNetworkingSocketsDebugOutputType.none;
case 1:
return ESteamNetworkingSocketsDebugOutputType.bug;
case 2:
return ESteamNetworkingSocketsDebugOutputType.error;
case 3:
return ESteamNetworkingSocketsDebugOutputType.important;
case 4:
return ESteamNetworkingSocketsDebugOutputType.warning;
case 5:
return ESteamNetworkingSocketsDebugOutputType.msg;
case 6:
return ESteamNetworkingSocketsDebugOutputType.verbose;
case 7:
return ESteamNetworkingSocketsDebugOutputType.debug;
case 8:
return ESteamNetworkingSocketsDebugOutputType.everything;
default:
throw UnknownEnumValueException(
"Unknown value for 'ESteamNetworkingSocketsDebugOutputType'. The value was: '$value'",
);
}
}