12 lines
250 B
C#
12 lines
250 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace OwnChar.Api.Packets;
|
|
|
|
public class OwnCharResponse
|
|
{
|
|
public OwnCharResponseError ErrorCode { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public bool IsSuccess => ErrorCode != OwnCharResponseError.None;
|
|
}
|