Skip to content

Commit

Permalink
Update enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jan 15, 2025
1 parent 4637141 commit 93b139f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Fika.Core.Networking.Http;

public enum HeadlessStatus
public enum EHeadlessStatus
{
READY = 1,
IN_RAID = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ public struct SetHeadlessStatusRequest
public string SessionId { get; set; }

[DataMember(Name = "status")]
public HeadlessStatus Status { get; set; }
public EHeadlessStatus Status { get; set; }

public SetHeadlessStatusRequest(string sessionId, HeadlessStatus status)
public SetHeadlessStatusRequest(string sessionId, EHeadlessStatus status)
{
SessionId = sessionId;
Status = status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ public struct SetHeadlessStatusResponse
public string SessionId { get; set; }

[DataMember(Name = "status")]
public HeadlessStatus Status { get; set; }
public EHeadlessStatus Status { get; set; }
}
}

0 comments on commit 93b139f

Please sign in to comment.