备份CatanBuilding瘦身独立工程

This commit is contained in:
JSD\13999
2026-05-26 16:15:54 +08:00
commit 2d0e6a61b7
12001 changed files with 2431925 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
using System;
namespace AIHelp
{
public class LoginConfig
{
public string UserId { get; }
public UserConfig UserConfig { get; }
public bool EnterpriseAuth { get; }
private LoginConfig(Builder builder)
{
UserId = builder.UserId;
UserConfig = builder.UserConfig;
EnterpriseAuth = builder.EnterpriseAuth;
}
public class Builder
{
public string UserId { get; private set; }
public UserConfig UserConfig { get; private set; }
public bool EnterpriseAuth { get; private set; }
public Builder SetUserId(string userId)
{
UserId = userId;
return this;
}
public Builder SetUserConfig(UserConfig userConfig)
{
UserConfig = userConfig;
return this;
}
public Builder SetEnterpriseAuth(bool enterpriseAuth)
{
EnterpriseAuth = enterpriseAuth;
return this;
}
public LoginConfig Build()
{
return new LoginConfig(this);
}
}
}
}