mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Party sync is done. Finished kick/promote code. Client is now always at the top of pt list.
This commit is contained in:
@@ -208,11 +208,15 @@ namespace FFXIVClassic_World_Server
|
||||
|
||||
if (pt.GetMemberCount() <= 1)
|
||||
return;
|
||||
|
||||
if (partyModifyPacket.command == PartyModifyPacket.MODIFY_LEADER)
|
||||
pt.SetLeaderPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.name);
|
||||
|
||||
if (partyModifyPacket.command == PartyModifyPacket.MODIFY_LEADER)
|
||||
pt.SetLeaderPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.name);
|
||||
else if (partyModifyPacket.command == PartyModifyPacket.MODIFY_KICKPLAYER)
|
||||
pt.KickPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.name);
|
||||
else if (partyModifyPacket.command == PartyModifyPacket.MODIFY_LEADER + 2)
|
||||
pt.SetLeaderPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.actorId);
|
||||
else if (partyModifyPacket.command == PartyModifyPacket.MODIFY_KICKPLAYER + 2)
|
||||
pt.KickPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.actorId);
|
||||
|
||||
break;
|
||||
//Party Resign or Disband
|
||||
|
||||
Reference in New Issue
Block a user