Server: - Account.IsHiddenFromLeaderboard: filter bots/devs from leaderboard - AbilityAnimationDefinition: type, effect, dimensions, asset/sound URLs per ability - CardAnimationBinding: CastSoundCdnUrl + ImpactSoundCdnUrl per card action - GameAudioConfig entity: admin-configurable BGM tracks per context - GetGameAudioConfigHandler (content.get_audio_config) + ServiceRegistration - Admin pages: AccountDetail toggle, AudioConfig CRUD, CardEditor + AbilityBuilder UI - Migrations: AddLeaderboardHide, AddCardActionSounds, AddGameAudioConfig Client: - Music.gd autoload: fetches BGM config, crossfades between context tracks - InGameSettings overlay: audio sliders, camera follow toggle, concede with confirm - GameScreen: gear button opens settings; ConcedeBtn moved into settings panel - project.godot: Music autoload registered Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
32 lines
875 B
C#
32 lines
875 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace SOR.Database.Migrations.Identity
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddLeaderboardHide : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IsHiddenFromLeaderboard",
|
|
schema: "identity",
|
|
table: "accounts",
|
|
type: "boolean",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IsHiddenFromLeaderboard",
|
|
schema: "identity",
|
|
table: "accounts");
|
|
}
|
|
}
|
|
}
|