feat : 파티 패킷 구조 1개로 통일(CRUD)

This commit is contained in:
qornwh1
2026-03-08 20:13:07 +09:00
parent 76c6f46bbe
commit 1b7f0003fb
4 changed files with 16 additions and 54 deletions

View File

@@ -523,16 +523,12 @@ public class DamagePacket
public enum PartyUpdateType
{
CREATE,
DELETE
}
public enum UserPartyUpdateType
{
DELETE,
JOIN,
LEAVE
}
// UPDATE_PARTY
// UPDATE_PARTY - 파티 생성/삭제: LeaderId 사용 / 파티원 추가/제거: PlayerId 사용
[ProtoContract]
public class UpdatePartyPacket
{
@@ -556,30 +552,18 @@ public class UpdatePartyPacket
get;
set;
}
}
// UPDATE_USER_PARTY
[ProtoContract]
public class UpdateUserPartyPacket
{
[ProtoMember(1)]
public int PartyId
{
get;
set;
}
[ProtoMember(2)]
[ProtoMember(4)]
public int PlayerId
{
get;
set;
}
[ProtoMember(3)]
public UserPartyUpdateType Type
[ProtoMember(5)]
public string PartyName
{
get;
set;
}
} // CREATE일 때 사용
}