mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Linkshell inviting completed.
This commit is contained in:
parent
8a0ebe7ec4
commit
108d8be013
22 changed files with 377 additions and 43 deletions
|
@ -16,6 +16,7 @@ namespace FFXIVClassic_World_Server.DataObjects
|
|||
|
||||
public string characterName;
|
||||
public uint currentZoneId;
|
||||
public uint activeLinkshellIndex = 0;
|
||||
|
||||
public readonly ClientConnection clientConnection;
|
||||
public readonly Channel type;
|
||||
|
@ -27,7 +28,17 @@ namespace FFXIVClassic_World_Server.DataObjects
|
|||
this.clientConnection = connection;
|
||||
this.type = type;
|
||||
connection.owner = this;
|
||||
Database.LoadZoneSessionInfo(this);
|
||||
Database.LoadZoneSessionInfo(this);
|
||||
}
|
||||
|
||||
public void SendGameMessage(uint actorId, ushort textId, byte log, params object[] msgParams)
|
||||
{
|
||||
if (msgParams == null || msgParams.Length == 0)
|
||||
{
|
||||
clientConnection.QueuePacket(GameMessagePacket.BuildPacket(0x5FF80001, sessionId, actorId, 0x5FF80001, textId, log), true, false);
|
||||
}
|
||||
else
|
||||
clientConnection.QueuePacket(GameMessagePacket.BuildPacket(0x5FF80001, sessionId, actorId, 0x5FF80001, textId, log, LuaUtils.CreateLuaParamList(msgParams)), true, false);
|
||||
}
|
||||
|
||||
public void SendGameMessage( ushort textId, byte log, params object[] msgParams)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue