/// Options: /// Date: 2026-08-13 23:48:50 /// Version: 10.09 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://blazor-gallery.servicestack.net /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: UpdateProfile.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); const ss = @import("servicestack"); pub const PlayerRole = enum { Leader, Player, NonPlayer, }; pub const PlayerRegion = enum { Africa, Americas, Asia, Australasia, Europe, }; pub const Profile = struct { id: i32 = 0, role: ?PlayerRole = null, region: ?PlayerRegion = null, username: ?[]const u8 = null, highScore: i64 = 0, gamesPlayed: i64 = 0, energy: i32 = 0, profileUrl: ?[]const u8 = null, coverUrl: ?[]const u8 = null, meta: ?std.json.Value = null, }; pub const UpdateProfile = struct { pub const ss_name = "UpdateProfile"; pub const ss_verb = "PATCH"; pub const Response = ss.IdResponse; id: i32 = 0, role: ?PlayerRole = null, region: ?PlayerRegion = null, username: ?[]const u8 = null, highScore: ?i64 = null, gamesPlayed: ?i64 = null, // @Validate(Validator="InclusiveBetween(0,100)") energy: ?i32 = null, profileUrl: ?[]const u8 = null, coverUrl: ?[]const u8 = null, };