feat : 보스전 채널 생성, 파티 함께 채널 이동 구현
This commit is contained in:
@@ -243,7 +243,9 @@ public class PartyInfoData
|
||||
}
|
||||
}
|
||||
|
||||
// INTO_CHANNEL 클라->서버: 입장할 채널 ID / 서버->클라: 채널 내 나 이외 플레이어 목록
|
||||
// INTO_CHANNEL
|
||||
// 클라->서버: 입장할 채널 ID
|
||||
// 서버->클라: 채널 내 나 이외 플레이어 목록
|
||||
[ProtoContract]
|
||||
public class IntoChannelPacket
|
||||
{
|
||||
@@ -269,6 +271,40 @@ public class IntoChannelPacket
|
||||
} = new List<PartyInfoData>(); // 서버->클라: 채널 내 파티 목록
|
||||
}
|
||||
|
||||
// 파티원 모두 채널이동
|
||||
// 클라->서버: 입장할 채널 ID
|
||||
[ProtoContract]
|
||||
public class IntoChannelPartyPacket
|
||||
{
|
||||
[ProtoMember(1)]
|
||||
public int ChannelId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} // 클라->서버: 입장할 채널 ID
|
||||
|
||||
[ProtoMember(2)]
|
||||
public List<PlayerInfo> Players
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = new List<PlayerInfo>(); // 서버->클라: 채널 내 플레이어 목록
|
||||
|
||||
[ProtoMember(3)]
|
||||
public List<PartyInfoData> Parties
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = new List<PartyInfoData>(); // 서버->클라: 채널 내 파티 목록
|
||||
|
||||
[ProtoMember(4)]
|
||||
public int PartyId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
// UPDATE_CHANNEL_USER 유저 접속/나감
|
||||
[ProtoContract]
|
||||
public class UpdateChannelUserPacket
|
||||
@@ -564,10 +600,10 @@ public enum ErrorCode : int
|
||||
{
|
||||
// 파티 (10021~)
|
||||
PARTY_ALREADY_IN_PARTY = 10021,
|
||||
PARTY_JOIN_FAILED = 10022,
|
||||
PARTY_NOT_IN_PARTY = 10023,
|
||||
PARTY_DELETE_FAILED = 10024,
|
||||
PARTY_UPDATE_FAILED = 10025,
|
||||
PARTY_JOIN_FAILED = 10022,
|
||||
PARTY_NOT_IN_PARTY = 10023,
|
||||
PARTY_DELETE_FAILED = 10024,
|
||||
PARTY_UPDATE_FAILED = 10025,
|
||||
}
|
||||
|
||||
// ERROR (서버 -> 클라)
|
||||
@@ -627,9 +663,9 @@ public class RequestPartyPacket
|
||||
|
||||
public enum ChatType
|
||||
{
|
||||
GLOBAL, // 전체 채널
|
||||
PARTY, // 파티원
|
||||
WHISPER // 귓말
|
||||
GLOBAL, // 전체 채널
|
||||
PARTY, // 파티원
|
||||
WHISPER // 귓말
|
||||
}
|
||||
|
||||
// CHAT (클라 -> 서버 & 서버 -> 클라)
|
||||
|
||||
Reference in New Issue
Block a user