mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-23 11:05:56 +02:00
Linkshell inviting completed.
This commit is contained in:
parent
8a0ebe7ec4
commit
108d8be013
22 changed files with 377 additions and 43 deletions
|
@ -19,12 +19,12 @@ namespace FFXIVClassic_World_Server
|
|||
mCurrentWorldGroupsReference = worldGroupList;
|
||||
}
|
||||
|
||||
public Relation CreatePartyRelationGroup(uint hostCharaId, uint otherCharaId)
|
||||
public Relation CreatePartyRelationGroup(ulong topicGroupId, uint hostCharaId, uint otherCharaId)
|
||||
{
|
||||
lock (mGroupLockReference)
|
||||
{
|
||||
ulong groupIndex = mWorldManager.GetGroupIndex();
|
||||
Relation relation = new Relation(groupIndex, hostCharaId, otherCharaId, 10001);
|
||||
Relation relation = new Relation(groupIndex, hostCharaId, otherCharaId, 10001, topicGroupId);
|
||||
mPartyRelationList.Add(groupIndex, relation);
|
||||
mCurrentWorldGroupsReference.Add(groupIndex, relation);
|
||||
mWorldManager.IncrementGroupIndex();
|
||||
|
@ -32,12 +32,12 @@ namespace FFXIVClassic_World_Server
|
|||
}
|
||||
}
|
||||
|
||||
public Relation CreateLinkshellRelationGroup(uint hostCharaId, uint otherCharaId)
|
||||
public Relation CreateLinkshellRelationGroup(ulong topicGroupId, uint hostCharaId, uint otherCharaId)
|
||||
{
|
||||
lock (mGroupLockReference)
|
||||
{
|
||||
ulong groupIndex = mWorldManager.GetGroupIndex();
|
||||
Relation relation = new Relation(groupIndex, hostCharaId, otherCharaId, 10002);
|
||||
Relation relation = new Relation(groupIndex, hostCharaId, otherCharaId, 10002, topicGroupId);
|
||||
mLinkshellRelationList.Add(groupIndex, relation);
|
||||
mCurrentWorldGroupsReference.Add(groupIndex, relation);
|
||||
mWorldManager.IncrementGroupIndex();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue