XNet/XNet.Business/Global.cs
2025-12-30 18:49:32 +08:00

21 lines
611 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace XNet.Business
{
public class Global
{
/// <summary>
/// 客户端传上来的位置,角度等为了省流量,存成整形,这里处理成单精度浮点型要除以 LocationMultiply默认除以1000
/// </summary>
public const float LocationMultiply = 1000f;
/// <summary>
/// 配件类型数量,武器,装甲,底盘等分别各算一类
/// </summary>
public const int MaxPartKindCount = 3;
/// <summary>
/// AI玩家数量
/// </summary>
public const int AICount = 4;
}
}