Files
Radicade/Server/Inventions/NewInventionRequestDTO.cs
2026-10-16 23:33:13 -07:00

43 lines
1.3 KiB
C#

using RadicadeServer.RecNet.Enums.Rooms;
using RadicadeServer.RecNet.Rooms;
namespace RadicadeServer.RecNet.Inventions
{
public class NewInventionRequestDTO
{
public string name { get; set; } = "";
public string description { get; set; } = "";
public string imageName { get; set; } = "";
public string inventionDataFilename { get; set; } = "";
public List<long> referencedInventions { get; set; } = new();
public RoleType creatorAccountRole { get; set; }
public int instantiationCost { get; set; }
public int lightsCost { get; set; }
public int aiCost { get; set; }
public long creationRoomId { get; set; }
}
public class NewInventionRequestDTO_V6
{
public string name { get; set; } = "";
public string description { get; set; } = "";
public string imageName { get; set; } = "";
public string inventionDataFilename { get; set; } = "";
public List<long> referencedInventions { get; set; } = new();
public RoleType creatorAccountRole { get; set; } = RoleType.Creator;
public int instantiationCost { get; set; } = 0;
public int cloudVariablesCost { get; set; } = 0;
public int chipsCost { get; set; } = 0;
public int lightsCost { get; set; } = 0;
public int aiCost { get; set; } = 0;
public long creationRoomId { get; set; } = 0;
}
}