/*
文件名:Chacter_Exit.nut
路径:Dps_A/CallBack/Chacter_Exit.nut
创建日期:2024-05-09	14:33
文件用途:退出游戏
*/
if (!("Cb_player_exit_Func" in getroottable())) Cb_player_exit_Func <- {};

function Cb_player_exit(C_User) {
    local SUser = User(C_User);
    if (SUser) {
        foreach(_index, Func in Cb_player_exit_Func) {
            Func(SUser);
        }
    }
}