<?php

return [
    // 同步间隔（秒），客户端最小同步间隔
    'sync_interval' => env('KYLIN_GAME_DATA_SYNC_INTERVAL', 5),

    // 最大存档大小（KB）
    'max_save_size' => env('KYLIN_GAME_DATA_MAX_SAVE_SIZE', 512),

    // 历史保留天数
    'history_retention_days' => env('KYLIN_GAME_DATA_HISTORY_RETENTION_DAYS', 30),

    // 冲突解决策略：server_wins / client_wins / manual
    'conflict_strategy' => env('KYLIN_GAME_DATA_CONFLICT_STRATEGY', 'server_wins'),

    // 模型映射
    'models' => [
        'game_save' => \Kylin\GameData\Models\GameSave::class,
        'game_save_history' => \Kylin\GameData\Models\GameSaveHistory::class,
    ],
];
