- 履歴一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- Windower/Lua/Party へ行く。
- 1 (2025-05-06 (火) 23:01:03)
- 2 (2025-05-06 (火) 23:01:16)
- 3 (2025-07-29 (火) 21:09:37)
メンバーのジョブ等の情報はないので、自前でパケットを解析して保持する必要がある。
- https://github.com/Tylas11/XivParty/blob/master/xivparty.lua#L148
if id == 0xDF then -- char update local packet = packets.parse('incoming', original) if packet then local playerId = packet['ID'] if playerId and playerId > 0 then utils:log('PACKET: Char update for player ID: '..playerId, 0)
local foundPlayer = model:getPlayer(nil, playerId, 'char')
foundPlayer:updateJobFromPacket(packet)
else
utils:log('Char update: ID not found.', 1)
end
end
end
if id == 0xDD then -- party member update
local packet = packets.parse('incoming', original)
if packet then
local name = packet['Name']
local playerId = packet['ID']
if name and playerId and playerId > 0 then
utils:log('PACKET: Party member update for '..name, 0)
local foundPlayer = model:getPlayer(name, playerId, 'party')
foundPlayer:updateJobFromPacket(packet)
else
utils:log('Party update: name and/or ID not found.', 1)
end
end
end