mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using RadicadeServer.RecNet.Enums;
|
||||
|
||||
namespace RadicadeServer.RecNet.Events
|
||||
{
|
||||
public class PlayerEvent
|
||||
{
|
||||
public long PlayerEventId { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public string Description { get; set; } = null!;
|
||||
public string ImageName { get; set; } = null!;
|
||||
|
||||
|
||||
|
||||
[JsonConverter(typeof(EventClock.Json))]
|
||||
public DateTime StartTime { get; set; }
|
||||
|
||||
[JsonConverter(typeof(EventClock.Json))]
|
||||
public DateTime EndTime { get; set; }
|
||||
public long CreatorPlayerId { get; set; }
|
||||
public int AttendeeCount { get; set; }
|
||||
public long RoomId { get; set; }
|
||||
public long? SubRoomId { get; set; }
|
||||
public Accessibility Accessibility { get; set; }
|
||||
|
||||
public long? ClubId { get; set; }
|
||||
public int State { get; set; } = 0;
|
||||
public List<PlayerEventTag> Tags { get; set; } = [];
|
||||
|
||||
[JsonConverter(typeof(EventClock.Json))]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public int PlayerCount { get; set; }
|
||||
public bool IsFull { get; set; }
|
||||
|
||||
public bool IsMultiInstance { get; set; } = false;
|
||||
public bool SupportMultiInstanceRoomChat { get; set; } = false;
|
||||
public int DefaultBroadcastPermissions { get; set; } = 0;
|
||||
public int CanRequestBroadcastPermissions { get; set; } = 0;
|
||||
|
||||
|
||||
|
||||
public long? BroadcastingRoomInstanceId { get; set; }
|
||||
}
|
||||
|
||||
public class PlayerEventTag
|
||||
{
|
||||
public string Tag { get; set; } = string.Empty;
|
||||
public int Type { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user