feat : 주석 업데이트

This commit is contained in:
qornwh1
2026-03-30 17:29:57 +09:00
parent 462f9d98f1
commit 5221261d1e
6 changed files with 29 additions and 8 deletions

View File

@@ -5,6 +5,14 @@ using MMOserver.Game.Party;
namespace MMOserver.Game.Channel;
/*
* Channel 클래스
* - 채널 내 Peer 관리
* - 채널 내 유저관리
* - 맵 관리
* - 인스턴스 던전 관리
* - 동적 맵 id 생성
*/
public class Channel
{
// 채널 내 유저 NetPeer (hashKey → NetPeer) — BroadcastToChannel 교차 조회 제거용

View File

@@ -1,5 +1,10 @@
namespace MMOserver.Game.Channel.Maps;
/*
* 게임 맵
* - 각 존 관리
* - 맵의 유저 관리
*/
public abstract class AMap
{
private Dictionary<int, Player> users = new Dictionary<int, Player>();

View File

@@ -1,8 +1,15 @@
namespace MMOserver.Game.Channel.Maps;
/*
* 맵 타입
* - ROBBY : 마을
* - DUNGEON : 오픈월드 던전 (마을 외곽)
* - INSTANCE : 인스턴스 레이드 던전(포톤용)
*/
public enum EnumMap : int
{
NONE = 0,
ROBBY = 1,
DUNGEON = 2,
INSTANCE = 10,
}

View File

@@ -3,7 +3,9 @@ using MMOserver.Game.Engine;
namespace MMOserver.Game.Channel.Maps.InstanceDungeun;
// 인스턴스 보스 맵에 들어갈때 쓰는 것
/*
* 인스턴스 보스 레이드에 진입은 하나의 Map으로 처리
*/
public class BossInstance : AMap
{
private EnumMap enumMap;

View File

@@ -2,18 +2,14 @@
namespace MMOserver.Game.Channel.Maps;
/*
* 마을(로비)
*/
public class Robby : AMap
{
private EnumMap enumMap;
private int mapId;
// 마을 시작 지점 넣어 둔다.
public static Vector3 StartPosition
{
get;
set;
} = new Vector3(0, 0, 0);
public Robby(int mapId, EnumMap enumMap = EnumMap.ROBBY)
{
this.enumMap = enumMap;

View File

@@ -5,6 +5,9 @@ using ServerLib.RDB.Database;
namespace MMOserver.RDB;
/*
* DB Helper 사용 테스트 코드이다.
*/
public class DbConnectionFactory : IDbConnectionFactory
{
private readonly string connectionString;