fea : Map단위로 캐릭터 이동 메시지 전달기능 추가

This commit is contained in:
qornwh1
2026-03-16 15:16:42 +09:00
parent e4429177db
commit 523247c9b1
2 changed files with 206 additions and 92 deletions

View File

@@ -243,9 +243,7 @@ public class PartyInfoData
}
}
// INTO_CHANNEL
// 클라->서버: 입장할 채널 ID
// 서버->클라: 채널 내 나 이외 플레이어 목록
// INTO_CHANNEL 클라->서버: 입장할 채널 ID / 서버->클라: 채널 내 나 이외 플레이어 목록
[ProtoContract]
public class IntoChannelPacket
{
@@ -723,9 +721,33 @@ public class ChangeMapPacket
get;
set;
}
// 새 맵의 기존 플레이어 목록 (이동한 본인에게 전달)
[ProtoMember(2)]
public List<PlayerInfo> Players
{
get;
set;
} = new List<PlayerInfo>();
// 입장(true) / 퇴장(false) - 기존 맵 플레이어들에게 전달
[ProtoMember(3)]
public bool IsAdd
{
get;
set;
}
// 이동한 플레이어 정보 - 기존 맵 플레이어들에게 전달
[ProtoMember(4)]
public PlayerInfo Player
{
get;
set;
}
}
// PARTY_CHANGE_MAP (클라 -> 서버 & 서버 -> 클라)
// PARTY_CHANGE_MAP (클라 -> 서버 전용)
[ProtoContract]
public class PartyChangeMapPacket
{