초기커밋
This commit is contained in:
26
ServerBase/1. Define/Constant.cs
Normal file
26
ServerBase/1. Define/Constant.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
|
||||
namespace ServerBase;
|
||||
|
||||
public static class Constant
|
||||
{
|
||||
public static readonly int STOPWATCH_LOG_LIMIT_MSEC = 100;
|
||||
|
||||
public static readonly int LARGE_PACKET_CHECK_INTERVAL_MSEC = 300;
|
||||
public static readonly int LARGE_PACKET_CHECK_WAIT_SEC = 10; //라지 패킷 대기시간 10초
|
||||
|
||||
public static readonly int LARGE_PACKET_CHECK_DEFAULT_SIZE = 256000; //라지 패킷 체크 기본 크기 (Byte)
|
||||
public static readonly int PACKET_CHUNK_DEFAULT_SIZE = 60000; //패킷 청크 기본 크기 (Byte)
|
||||
|
||||
public static readonly bool IS_LARGE_PACKET_PROTOCOL_ACTIVE = true; //false면 라지 패킷 미사용 //이 값은 GameConfig같은 걸로 빼서 클라랑 같이 써야될수 있다.
|
||||
public static readonly Int32 MAX_PACKET_SIZE = 256_000;
|
||||
|
||||
|
||||
public static readonly UInt16 SERVER_INFO_NOTIFY_INTERVAL_MSEC = 5000;
|
||||
}
|
||||
Reference in New Issue
Block a user