EAuthSessionResponse.fromValue constructor
EAuthSessionResponse.fromValue(
- int value
Implementation
factory EAuthSessionResponse.fromValue(int value) {
switch (value) {
case 0:
return EAuthSessionResponse.ok;
case 1:
return EAuthSessionResponse.userNotConnectedToSteam;
case 2:
return EAuthSessionResponse.noLicenseOrExpired;
case 3:
return EAuthSessionResponse.vACBanned;
case 4:
return EAuthSessionResponse.loggedInElseWhere;
case 5:
return EAuthSessionResponse.vACCheckTimedOut;
case 6:
return EAuthSessionResponse.authTicketCanceled;
case 7:
return EAuthSessionResponse.authTicketInvalidAlreadyUsed;
case 8:
return EAuthSessionResponse.authTicketInvalid;
case 9:
return EAuthSessionResponse.publisherIssuedBan;
case 10:
return EAuthSessionResponse.authTicketNetworkIdentityFailure;
default:
throw UnknownEnumValueException(
"Unknown value for 'EAuthSessionResponse'. The value was: '$value'",
);
}
}