feat : 파티 패킷 추가 / 채널 접속시 모든 파티 리스트 전달

This commit is contained in:
qornwh1
2026-03-10 09:40:00 +09:00
parent a3bcbd073e
commit 9828b967a1
4 changed files with 88 additions and 35 deletions

View File

@@ -210,6 +210,32 @@ public class LoadChannelPacket
} = new List<ChannelInfo>();
}
// 채널 내 파티 정보 (INTO_CHANNEL 응답에 포함)
[ProtoContract]
public class PartyInfoData
{
[ProtoMember(1)]
public int PartyId
{
get;
set;
}
[ProtoMember(2)]
public int LeaderId
{
get;
set;
}
[ProtoMember(3)]
public List<int> MemberPlayerIds
{
get;
set;
} = new List<int>();
}
// INTO_CHANNEL 클라->서버: 입장할 채널 ID / 서버->클라: 채널 내 나 이외 플레이어 목록
[ProtoContract]
public class IntoChannelPacket
@@ -227,6 +253,13 @@ public class IntoChannelPacket
get;
set;
} = new List<PlayerInfo>(); // 서버->클라: 채널 내 플레이어 목록
[ProtoMember(3)]
public List<PartyInfoData> Parties
{
get;
set;
} = new List<PartyInfoData>(); // 서버->클라: 채널 내 파티 목록
}
// UPDATE_CHANNEL_USER 유저 접속/나감