-- This file is generated by tools/json2lua.js

local ffxiv_ipc_fellowship_joined = Proto("ffxiv_ipc_fellowship_joined", "FFXIV-IPC FellowshipJoined")

local fellowship_joined_fields = {
}

ffxiv_ipc_fellowship_joined.fields = fellowship_joined_fields

function ffxiv_ipc_fellowship_joined.dissector(tvbuf, pktinfo, root)
  local tree = root:add(ffxiv_ipc_fellowship_joined, tvbuf)
  pktinfo.cols.info:set("FellowshipJoined")

  local len = tvbuf:len()

  -- dissect fellowship_joined_item
  local fellowship_joined_item_dissector = Dissector.get('ffxiv_ipc_fellowship_joined_item')
  local fellowship_joined_item_pos = 0
  local fellowship_joined_item_len = 80
  local fellowship_joined_item_count = 10

  while fellowship_joined_item_pos + fellowship_joined_item_len <= len do
    local fellowship_joined_item_tvbr = tvbuf:range(fellowship_joined_item_pos, 80)
    fellowship_joined_item_dissector:call(fellowship_joined_item_tvbr:tvb(), pktinfo, root)
    fellowship_joined_item_pos = fellowship_joined_item_pos + fellowship_joined_item_len
    fellowship_joined_item_count = fellowship_joined_item_count - 1
    if fellowship_joined_item_count <= 0 then
      break
    end
  end

  return len
end