mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
More group work. Added packet operations to the world server so it can send global group info.
This commit is contained in:
parent
6c409e93a9
commit
1148619ca5
30 changed files with 1173 additions and 43 deletions
|
@ -60,8 +60,8 @@ namespace FFXIVClassic_World_Server
|
|||
party.members.Remove(charaId);
|
||||
|
||||
//If current ldr, make a new ldr if not empty pt
|
||||
if (party.leader == charaId && party.members.Count != 0)
|
||||
party.leader = party.members[0];
|
||||
if (party.GetLeader() == charaId && party.members.Count != 0)
|
||||
party.SetLeader(party.members[0]);
|
||||
}
|
||||
return party.members.Count;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ namespace FFXIVClassic_World_Server
|
|||
Party party = mPartyList[groupId];
|
||||
if (party.members.Contains(charaId))
|
||||
{
|
||||
party.leader = charaId;
|
||||
party.SetLeader(charaId);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue