초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View 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;
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DYNAMO_DB_TABLE_NAME = System.String;
namespace ServerBase;
public static class DynamoDbDefine
{
public static class TableNames
{
// 메인 테이블
public static DYNAMO_DB_TABLE_NAME Main = "Metaverse";
}
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServerBase;
//=============================================================================================
// Transaction ID Type 종류
//=============================================================================================
public enum TransactionIdType
{
None = 0, // 트랜잭션 대상이 아니다 !!!
PrivateContents, // 개인적인 컨텐츠
Trade, // 거래
BattleRoom, // 배틀 룸
}
public enum LocationTargetType
{
None = 0,
World = 1,
Instance = 2,
}