- 5 common DTOs under Models/Dtos/Common/Guild/ (GuildDetailDto, GuildUserBaseDto, GuildMemberInfoDto, ChatUserDto, ChatMessageDto) - 28 per-endpoint request/response DTOs under Models/Dtos/Guild/ and Models/Dtos/GuildChat/ with full [MessagePackObject]/[Key]/ [JsonPropertyName] attribute mirrors on every property - GuildController (22 actions): /guild/info returns prod-shape with config-backed max_member_num/max_sub_leader_num/usable_stamp_list; 21 stubs return empty/default DTOs - GuildChatController (7 stubs), /guild_chat/messages stub returns wait_interval=10 per config - 29 new routing smoke test cases (100 total, all pass) - GuildWireShape literal-JSON test for GuildInfoResponse (1/1 pass) - GameConfigurationJsonbTests updated for 17th GuildConfig section - Total: 1422 tests pass, 0 errors Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
using MessagePack;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Guild;
|
|
|
|
/// <summary>Request for POST /guild/search_guild.</summary>
|
|
[MessagePackObject]
|
|
public class GuildSearchGuildRequest
|
|
{
|
|
[JsonPropertyName("viewer_id"), Key("viewer_id")]
|
|
public string ViewerId { get; set; } = "";
|
|
|
|
[JsonPropertyName("steam_id"), Key("steam_id")]
|
|
public ulong SteamId { get; set; }
|
|
|
|
[JsonPropertyName("steam_session_ticket"), Key("steam_session_ticket")]
|
|
public string SteamSessionTicket { get; set; } = "";
|
|
|
|
/// <summary>Name query. Empty string = match-all.</summary>
|
|
[JsonPropertyName("guild_name"), Key("guild_name")]
|
|
public string GuildName { get; set; } = "";
|
|
|
|
/// <summary>ActivityType filter (1..16). 0 = any.</summary>
|
|
[JsonPropertyName("activity"), Key("activity")]
|
|
public int Activity { get; set; }
|
|
|
|
/// <summary>JoinConditionType filter (1..3). 0 = any.</summary>
|
|
[JsonPropertyName("join_condition"), Key("join_condition")]
|
|
public int JoinCondition { get; set; }
|
|
|
|
/// <summary>Member-count bucket filter. 0 = any, 1 = small, 2 = medium, 3 = large.</summary>
|
|
[JsonPropertyName("member_condition_range"), Key("member_condition_range")]
|
|
public int MemberConditionRange { get; set; }
|
|
}
|