NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Framework/Constants/Constants.cs

20 lines
706 B
C#
Raw Normal View History

2023-10-19 15:00:19 +08:00
namespace Framework
2023-08-22 19:08:45 +08:00
{
2023-10-19 15:00:19 +08:00
public static partial class Constants
2023-08-22 19:08:45 +08:00
{
public const float DOUBLE_EPSILON = float.Epsilon;
public const int INVALID_ID = -1;
public const uint INVALID_UINT_ID = 0;
public const float HEARTBEAT_INTERVAL = 5.0f; // 网络心跳发送频率5秒一次
public const int EID_CHARACTER_SELECT = 1;
2023-10-19 15:00:19 +08:00
public static readonly int ADVANCE_FLAG_UI = 4;
public static readonly int BREAK_FLAG_UI = 4;
public static readonly int DEFULT_SKINID = 1;
2025-06-16 16:46:50 +08:00
public const float MAIN_CAMERA_START_FOV = 30;
2025-06-16 17:54:43 +08:00
public const float UI_SETFLAG_OFFSET_Y = 4.5f;
public const float UI_GRID_OFFSET_Y = 2f;
2023-08-22 19:08:45 +08:00
}
}