-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(admin): make admin friendlier by adding reload button
- Loading branch information
1 parent
bf46b70
commit 965c7a6
Showing
12 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using GLOKON.Baiters.Core.Models.Actor; | ||
using GLOKON.Baiters.Core.Models.Game; | ||
using System.Numerics; | ||
|
||
namespace GLOKON.Baiters.Server.Responses | ||
{ | ||
internal struct PlayerResponse(ulong id, Player player) | ||
{ | ||
public DateTimeOffset SpawnedAt { get; set; } = player.SpawnedAt; | ||
|
||
public string Id { get; set; } = id.ToString(); | ||
|
||
public string Type { get; set; } = player.Type; | ||
|
||
public string OwnerId { get; set; } = player.OwnerId.ToString(); | ||
|
||
public Vector3 Position { get; set; } = player.Position; | ||
|
||
public Vector3 Rotation { get; set; } = player.Rotation; | ||
|
||
public string Zone { get; set; } = player.Zone; | ||
|
||
public uint? DespawnTime { get; set; } = player.DespawnTime; | ||
|
||
public string FisherName { get; set; } = player.FisherName; | ||
|
||
public bool IsAdmin { get; set; } = player.IsAdmin; | ||
|
||
public string? ActorId { get; set; } = player.ActorId?.ToString() ?? null; | ||
|
||
public string? LastEmote { get; set; } = player.LastEmote; | ||
|
||
public Cosmetics? Cosmetics { get; set; } = player.Cosmetics; | ||
|
||
public HeldItem? HeldItem { get; set; } = player.HeldItem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters