<?php

/**
 * ServerConfig.php
 * 文件描述
 * Created On 2022/4/25
 * @author yuanb yuanbo0x@gmail.com
 */

namespace Server\Config;

class ServerConfig
{
    public const PVP_PACK = "PvpPack";
    public const COMMON_TIMER = "Timer";
    public const OFFLINE = "OffLine";
    public const RAND_MAP = "RandMap";
    public const CHECK_ROOM = "CheckRoom";
    public const CHECK_CUSTOMIZE_ROOM = "CheckCustomizeRoom";
    public const SERVICE = "Service";
    public const CHECK_SCUFFLE_ROOM = "CheckScuffleRoom";
    public const CHECK_EXPIRE_INTIMACY_APPLY = "CheckExpireIntimacyApply";

    public const MODEL_MAP = array(
        self::PVP_PACK => 'Server\Model\PVP\PvpPack',
        self::COMMON_TIMER => 'Server\Model\CommonTimer\Timer',
        self::OFFLINE  => 'Server\Model\Player\OffLine',
        self::RAND_MAP  => 'Server\Model\RandMap',
        self::CHECK_ROOM => 'Server\Model\Player\CheckRoom',
        self::CHECK_CUSTOMIZE_ROOM => 'Server\Model\Player\CheckCustomizeRoom',
        self::CHECK_SCUFFLE_ROOM => 'Server\Model\Player\CheckScuffleRoom',
        self::CHECK_EXPIRE_INTIMACY_APPLY => 'Server\Model\Player\CheckExpireIntimacyApply'
    );

    public const MODEL_SERVICE = [
        self::SERVICE => 'Server\Model\Service',
    ];
}
