Skip to main content

ServerJoinResponse

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Responses.

Web API answer to whether a user may join a server, with ban details when they may not. The offline security client always returns allowed.

Constructors​

MemberWhat it is
ServerJoinResponse()Creates a ServerJoinResponse with default values.

Properties​

MemberWhat it is
DateTime BanEndTime { get; set; }When the user's ban ends.
string BanReason { get; set; }Reason text for the ban.
BanType BanType { get; set; }Kind of ban that applies.
bool IsAllowed { get; set; }True when the user may join.

Used in​

Members of other types that take, return or hold a ServerJoinResponse: