mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Party sync is done. Finished kick/promote code. Client is now always at the top of pt list.
This commit is contained in:
parent
506bcbaf87
commit
2b10221a75
11 changed files with 77 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue