content stringlengths 5 1.05M |
|---|
--------------------------------
-- @module Liquid
-- @extend Grid3DAction
-- @parent_module cc
--------------------------------
--
-- @function [parent=#Liquid] getAmplitudeRate
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#Liquid] setAmplitude
-- @param self
-- @param #float amplitude
--------------------------------
--
-- @function [parent=#Liquid] setAmplitudeRate
-- @param self
-- @param #float amplitudeRate
--------------------------------
--
-- @function [parent=#Liquid] getAmplitude
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- creates the action with amplitude, a grid and duration
-- @function [parent=#Liquid] create
-- @param self
-- @param #float duration
-- @param #size_table gridSize
-- @param #unsigned int waves
-- @param #float amplitude
-- @return Liquid#Liquid ret (return value: cc.Liquid)
--------------------------------
--
-- @function [parent=#Liquid] clone
-- @param self
-- @return Liquid#Liquid ret (return value: cc.Liquid)
--------------------------------
--
-- @function [parent=#Liquid] update
-- @param self
-- @param #float time
return nil
|
-- Created by Elfansoer
--[[
Ability checklist (erase if done/checked):
- Scepter Upgrade
- Break behavior
- Linken/Reflect behavior
- Spell Immune/Invulnerable/Invisible behavior
- Illusion behavior
- Stolen behavior
]]
--------------------------------------------------------------------------------
modifier_doom_doom_lua = class({})
--------------------------------------------------------------------------------
-- Classifications
function modifier_doom_doom_lua:IsHidden()
return false
end
function modifier_doom_doom_lua:IsDebuff()
return true
end
function modifier_doom_doom_lua:IsStunDebuff()
return false
end
function modifier_doom_doom_lua:IsPurgable()
return false
end
--------------------------------------------------------------------------------
-- Initializations
function modifier_doom_doom_lua:OnCreated( kv )
-- references
local damage = self:GetAbility():GetSpecialValueFor( "damage" )
self.deniable = self:GetAbility():GetSpecialValueFor( "deniable_pct" )
self.interval = 1
-- scepter
self.scepter = self:GetCaster():HasScepter()
if self.scepter then
damage = self:GetAbility():GetSpecialValueFor( "damage_scepter" )
end
self.check_radius = 900
if not IsServer() then return end
-- precache and apply damage
self.damageTable = {
victim = self:GetParent(),
attacker = self:GetCaster(),
damage = damage,
damage_type = self:GetAbility():GetAbilityDamageType(),
ability = self:GetAbility(), --Optional.
}
ApplyDamage( self.damageTable )
-- Start interval
self:StartIntervalThink( self.interval )
-- play effects
self:PlayEffects()
end
function modifier_doom_doom_lua:OnRefresh( kv )
-- references
local damage = self:GetAbility():GetSpecialValueFor( "damage" )
self.deniable = self:GetAbility():GetSpecialValueFor( "deniable_pct" )
-- scepter
self.scepter = self:GetCaster():HasScepter()
if self.scepter then
damage = self:GetAbility():GetSpecialValueFor( "damage_scepter" )
end
if not IsServer() then return end
-- update damage
self.damageTable.damage = damage
-- Create Sound
local sound_cast = "Hero_DoomBringer.Doom"
EmitSoundOn( sound_cast, self:GetParent() )
end
function modifier_doom_doom_lua:OnRemoved()
end
function modifier_doom_doom_lua:OnDestroy()
if not IsServer() then return end
-- stop sound
local sound_cast = "Hero_DoomBringer.Doom"
StopSoundOn( sound_cast, self:GetParent() )
end
--------------------------------------------------------------------------------
-- Status Effects
function modifier_doom_doom_lua:CheckState()
local state = {
[MODIFIER_STATE_SILENCED] = true,
[MODIFIER_STATE_MUTED] = true,
[MODIFIER_STATE_PASSIVES_DISABLED] = self.scepter,
[MODIFIER_STATE_SPECIALLY_DENIABLE] = self:GetParent():GetHealthPercent()<self.deniable,
}
return state
end
--------------------------------------------------------------------------------
-- Interval Effects
function modifier_doom_doom_lua:OnIntervalThink()
-- Apply damage
ApplyDamage( self.damageTable )
-- scepter time check
if self.scepter then
-- get distance
local distance = (self:GetParent():GetOrigin()-self:GetCaster():GetOrigin()):Length2D()
if distance<self.check_radius then
-- increment duration
self:SetDuration( self:GetRemainingTime() + self.interval, true )
end
end
end
--------------------------------------------------------------------------------
-- Graphics & Animations
function modifier_doom_doom_lua:GetStatusEffectName()
return "particles/status_fx/status_effect_doom.vpcf"
end
function modifier_doom_doom_lua:StatusEffectPriority()
return MODIFIER_PRIORITY_SUPER_ULTRA
end
function modifier_doom_doom_lua:PlayEffects()
-- Get Resources
local particle_cast = "particles/units/heroes/hero_doom_bringer/doom_bringer_doom.vpcf"
local sound_cast = "Hero_DoomBringer.Doom"
-- Create Particle
-- local effect_cast = ParticleManager:CreateParticle( particle_cast, PATTACH_ABSORIGIN_FOLLOW, self:GetParent() )
local effect_cast = assert(loadfile("lua_abilities/rubick_spell_steal_lua/rubick_spell_steal_lua_arcana"))(self, particle_cast, PATTACH_ABSORIGIN_FOLLOW, self:GetParent() )
-- ParticleManager:SetParticleControl( effect_cast, iControlPoint, vControlVector )
-- buff particle
self:AddParticle(
effect_cast,
false, -- bDestroyImmediately
false, -- bStatusEffect
MODIFIER_PRIORITY_SUPER_ULTRA, -- iPriority
false, -- bHeroEffect
false -- bOverheadEffect
)
-- Create Sound
EmitSoundOn( sound_cast, self:GetParent() )
end |
-- Copyright 2015-2021 Mitchell. See LICENSE.
-- Retrieves the API documentation for function name *symbol* in lexer language
-- *lang* and returns its signature in snippet form for insertion.
-- Documentation is read from API files in the `textadept.editing.api_files`
-- table. As a result, if *symbol* is a full symbol name, only the last
-- alphanumeric part of it is considered.
-- @param symbol The symbol the retrieve arguments for.
-- @param lang The lexer language of *symbol*.
-- @see textadept.editing.api_files
local function get_api_snippet(symbol, lang)
local apis = {}
local api_files = textadept.editing.api_files[lang]
if api_files and symbol:match('[%w_-]+$') then
local symbol_patt = '^' .. symbol:match('[%w_-]+$'):gsub('(%p)', '%%%1')
local signature_patt = '%f[%w_-]' .. symbol:gsub('(%p)', '%%%1') .. '(%b())'
for i = 1, #api_files do
local api_file = api_files[i]
if type(api_file) == 'function' then api_file = api_file() end
if api_file and lfs.attributes(api_file) then
for line in io.lines(api_file) do
if line:find(symbol_patt) then
local args = line:match(signature_patt)
if args then
if args:find('%(', 2) then goto continue end -- expression
apis[#apis + 1] = args
elseif lang == 'lua' then
apis[#apis + 1] = line:match((signature_patt:gsub(':', '.')))
end
::continue::
end
end
end
end
end
if #apis == 0 then return end
-- Get the one function whose arguments are to be inserted.
if #apis > 1 then
local button, i = ui.dialogs.filteredlist{
title = _L['Select Snippet'], columns = {_L['Snippet Text']}, items = apis,
width = CURSES and ui.size[1] - 2 or nil
}
if button ~= 1 then return end
apis[1] = apis[i]
end
-- Parse the argument list and create placeholders for arguments.
local arg_patt = '^(%s*).-([%w_-]+)$' -- matches the space between ','s
if lang == 'lua' then
-- If the function is a 'self' function, strip the first self arg.
local line, pos = buffer:get_cur_line()
if line:sub(1, pos - 1):find(':' .. symbol .. '$') or symbol:find(':') then
apis[1] = apis[1]:gsub('[^(,)]+,?%s*', '', 1)
end
-- Handle Lua API documentation's optional argument bracket delimiters.
arg_patt = '^(%s*).-([%w_]+)%s*[%[%]]*$'
end
local index = 0
return symbol .. apis[1]:gsub('%s*[^(,)]+', function(arg)
local space, name = arg:match(arg_patt)
index = index + 1
return ("%s%%%d(%s)"):format(space or (index > 1 and ' ' or ''), index, name or ' ')
end)
end
-- Defines a snippet that inserts the argument list for function *name* based on
-- its API documentation.
-- @param name The function name to insert the argument list for as a snippet.
local function wrap(name)
return function() return get_api_snippet(name, buffer:get_lexer(true)) end
end
-- Hook into language-specific snippets in order to attempt to insert a
-- recognized API function's argument list as a snippet.
events.connect(events.LEXER_LOADED, function(lexer)
if not snippets[lexer] or getmetatable(snippets[lexer]) then return end
setmetatable(snippets[lexer], {__index = function(t, k) return get_api_snippet(k, lexer) end})
end)
return wrap
|
-- --
-- made by ELF#0001 <- my discord --
-- 3dme made by Elio --
-- --
local logEnabled = false
function setLog(text, source)
local time = os.date("%d/%m/%Y %X")
local name = GetPlayerName(source)
local identifier = GetPlayerIdentifiers(source)
local data = time .. ' : ' .. name .. ' - ' .. identifier[1] .. ' : ' .. text
local content = LoadResourceFile(GetCurrentResourceName(), "log.txt")
local newContent = content .. '\r\n' .. data
SaveResourceFile(GetCurrentResourceName(), "log.txt", newContent, -1)
end
if GetCurrentResourceName() ~= "elf_weaponfromcar" then
print(" #")
print(" ###")
print("###### ###### ###### ###### ###### ##############")
print("# # # # # # # # # ################ Rename '" .. GetCurrentResourceName() .. "' back to 'elf_weaponfromcar'")
print("### ###### ###### # # ###### ################## otherwise script might not work properly!")
print("# # ## # ## # # # ## ################ why wont you let my name be !!!")
print("###### # ## # ## ###### # ## ##############")
print(" ###")
print(" #")
end
|
startx = 0
starty = 28
endx = 63
endy = 3
defineTile(".", "GRASS")
defineTile(":", "PAVED_ROAD")
defineTile("~", "DEEP_WATER")
defineTile("#", "WALL")
defineTile("'", "DOOR_OPEN")
defineTile("+", "DOOR_LOCKED")
defineTile("=", "FENCE")
defineTile("|", "TREE")
defineTile("F", "FOUNTAIN")
defineTile("W", "TO_WORLDMAP")
defineTile(">", "DOWN")
defineTile("z", "FLOOR", nil, {random_filter={name="zombie"}})
subGenerator{
x = 2, y = 2, w = 22, h = 22,
generator = "engine.generator.map.Town",
data = {
building_chance = 90,
lshape_chance = 80,
double_lshape_chance = 80,
max_building_w = 9, max_building_h = 9,
edge_entrances = {6,4},
floor = "WALL",
wall = "WALL",
door = "DOOR_HOUSE",
external_floor = "FLOOR",
up = "FLOOR",
down = "FLOOR",
nb_rooms = false,
rooms = false,
},
}
subGenerator{
x = 24, y = 2, w = 34, h = 60,
generator = "engine.generator.map.Town",
data = {
building_chance = 90,
lshape_chance = 80,
double_lshape_chance = 80,
max_building_w = 9, max_building_h = 9,
edge_entrances = {6,4},
floor = "WALL",
wall = "WALL",
door = "DOOR_HOUSE",
external_floor = "FLOOR",
up = "FLOOR",
down = "FLOOR",
nb_rooms = false,
rooms = false,
},
}
subGenerator{
x = 2, y = 36, w = 22, h = 24,
generator = "engine.generator.map.Town",
data = {
building_chance = 90,
lshape_chance = 80,
double_lshape_chance = 80,
max_building_w = 9, max_building_h = 9,
edge_entrances = {6,4},
floor = "WALL",
wall = "WALL",
door = "DOOR_HOUSE",
external_floor = "FLOOR",
up = "FLOOR",
down = "FLOOR",
nb_rooms = false,
rooms = false,
},
}
return [[||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|..............................................................|
|..............................................................|
|..............................................................>
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|.............z......z.........................................|
|..............................................................|
|..............................................................|
|..............................................................|
|............:::...............................................|
W:::::::::::::F:.....z.........................................|
|............:::...............................................|
|..............................................................|
|..##+##.......................................................|
|..#...#.......................................................|
|..#...#.......................................................|
|..#...#......z......z.........................................|
|..#####.......................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
|..............................................................|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||]]
|
-- STRONGEST PUNCH SIMULATOR
local Page = MagmaHub:addPage("STRONGEST PUNCH SIMULATOR")
-- Auto Punch
local AutoPunch = Page:addToggle("Auto Punch")
Threads:Add(function()
while wait() do
if AutoPunch:IsEnabeld() then
local A_1 = { [1] = "Activate_Punch" }
local Event = game:GetService("ReplicatedStorage").RemoteEvent
Event:FireServer(A_1)
end
end
end)
-- Auto Collect Boosts
local AutoCollectBoosts = Page:addToggle("Auto Collect Boosts")
Threads:Add(function()
while wait() do
if AutoCollectBoosts:IsEnabeld() then
local World = game.Players.LocalPlayer.leaderstats.WORLD.Value
local Boosts = workspace.Map.Stages.Boosts[World]:GetChildren()
for _,Boost in pairs(Boosts) do
if Boost ~= nil then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Boost:FindFirstChildOfClass("Part").CFrame
wait(.5)
if Boost ~= game.Players.LocalPlayer.leaderstats.WORLD.Value then break end
if AutoCollectBoosts:IsEnabeld() == false then break end
end
end
end
end
end)
|
local current_folder = ... and (...):match '(.-%.?)[^%.]+$' or ''
local affine = require(current_folder .. ".lib.affine")
-- Storing a reference here since we will replace the function pointers later
local lgorigin = love.graphics.origin
local lgscale = love.graphics.scale
local lgrotate = love.graphics.rotate
local lgshear = love.graphics.shear
local lgtranslate = love.graphics.translate
local lgpush = love.graphics.push
local lgpop = love.graphics.pop
-- local lggetscissor = love.graphics.getScissor
-- local lgsetscissor = love.graphics.setScissor
-- local lgintersectscissor = love.graphics.intersectScissor
local Transform = {}
setmetatable(Transform,
{
__call = function(_, matrix, scale_tbl)
local transform = setmetatable({}, {__index = Transform})
transform.matrix = matrix or affine.id()
transform.scale_tbl = scale_tbl or {1, 1}
transform.transform_stack = {}
transform.scale_stack = {}
return transform
end,
})
function Transform.origin(self)
self.matrix = affine.id()
self.scale_tbl = {1, 1}
lgorigin()
end
function Transform.push(self, ...)
table.insert(self.transform_stack, affine.clone(self.matrix))
table.insert(self.scale_stack, {self.scale_tbl[1], self.scale_tbl[2]})
lgpush(...)
end
function Transform.pop(self)
self.matrix = table.remove(self.transform_stack)
self.scale_tbl = table.remove(self.scale_stack)
lgpop()
end
-- function Transform.setScissor()
-- end
-- function Transform.getScissor()
-- end
-- function Transform.intersectScissor()
-- end
function Transform.translate(self, dx, dy)
dx = math.floor(dx)
dy = math.floor(dy)
self.matrix = self.matrix * affine.trans(dx, dy)
lgtranslate(dx, dy)
end
function Transform.rotate(self, theta)
self.matrix = self.matrix * affine.rotate(theta)
lgrotate(theta)
end
function Transform.scale(self, sx, sy)
self.matrix = self.matrix * affine.scale(sx, sy)
self.scale_tbl[1], self.scale_tbl[2] = self.scale_tbl[1] * sx, self.scale_tbl[2] * sy
lgscale(sx, sy)
end
function Transform.shear(self, kx, ky)
self.matrix = self.matrix * affine.shear(kx, ky)
lgshear(kx, ky)
end
function Transform.project(self, x, y)
return self.matrix(x, y)
end
function Transform.unproject(self, x, y)
return (affine.inverse(self.matrix))(x, y)
end
function Transform.project_dimensions(self, w, h)
return w * self.scale_tbl[1], h * self.scale_tbl[2]
end
function Transform.unproject_dimensions(self, w, h)
return w / self.scale_tbl[1], h / self.scale_tbl[2]
end
function Transform.unproject_bounds(self, bounds)
local x, y = Transform.unproject(self, bounds.x, bounds.y)
local w, h = Transform.unproject_dimensions(self, bounds.w, bounds.h)
return {x = x, y = y, w = w, h = h}
end
function Transform.project_bounds(self, bounds)
local x, y = Transform.project(self, bounds.x, bounds.y)
local w, h = Transform.project_dimensions(self, bounds.w, bounds.h)
return {x = x, y = y, w = w, h = h}
end
function Transform.clone(self)
return Transform(self.matrix, self.scale_tbl)
end
function Transform.getTranslate(self)
return self.matrix[1][3], self.matrix[2][3]
end
function Transform.getScale(self)
return self.matrix[1][1], self.matrix[2][2]
end
return Transform |
object_tangible_meatlump_event_meatlump_weapon_palette_01_04 = object_tangible_meatlump_event_shared_meatlump_weapon_palette_01_04:new {
}
ObjectTemplates:addTemplate(object_tangible_meatlump_event_meatlump_weapon_palette_01_04, "object/tangible/meatlump/event/meatlump_weapon_palette_01_04.iff")
|
local crash = require("hs.crash")
local settings = require("hs.settings")
crash.crashLogToNSLog = true ;
if settings.get("_asm.crashIfNotMain") then
local function crashifnotmain(reason)
if not crash.isMainThread() then
print("crashifnotmain called with reason", reason) -- may want to remove this, very verbose otherwise
print("not in main thread, crashing")
crash.crash()
end
end
debug.sethook(crashifnotmain, 'c')
return true
else
return false
end
|
local count = 0
for n = 1, math.huge do
start = math.ceil((10 ^ (n - 1)) ^ (1.0 / n))
count = count + 9 - start + 1
if start > 9 then
break
end
end
print(count)
|
local shell = require("shell")
local cpio = require("cpio")
local filesystem = require("filesystem")
local args, ops = shell.parse(...)
if ops.o or ops.output and args[1] then
local output = shell.resolve(args[1], true)
local archive = {}
while not io.stdin.closed or io.stdin:remaining() do
local line = io.stdin:read("l")
if line then
local path = shell.resolve(line)
print(line)
local entry = {
data = "",
name = line
}
if filesystem.isDirectory(path) then
entry.isDirectory = true
else
entry.isFile = true
local s = io.open(path)
entry.data = s:read("a")
s:close()
end
if line ~= ".dir" or ops.a then
table.insert(archive, entry)
end
end
end
local stream = io.open(output, "w")
cpio.write(archive, stream)
stream:close()
elseif ops.e or ops.extract then
io.stderr:write("Extract not yet supported.\n")
else
print("Usage:")
print("cpio [-o|-e] [-a] <file>")
print(" -e|--extract: Extract a CPIO archive to PWD")
print(" -o|--output: Write a CPIO archive")
print(" -a: If present, will include the .dir files (Fuchas permission file on managed disks),")
print(" it can be useful for moving data between Fuchas computers.")
print(" Can be used like so: 'find . | cpio -o myCpio.cpio'")
end
|
local remap_tbl = {};
remap_tbl[0] = 0;
remap_tbl[1] = 0;
-- special buttons:
-- 32 - presence
-- 33 - eraser presence
-- 1 - pen buttoN
-- 0 - pen on surface
-- eraser-button : doesn't respond (kernel level)
return {
label = "Elan Surface GO Pen",
name = "elan_9038_pen",
matchstr = "ELAN9038:00 04F3:261A",
autorange = false,
range = {0, 0, 13312, 8960},
classifier = "absmouse",
axis_remap = remap_tbl,
activation = {0.0, 0.0, 1.0, 1.0},
scale_x = 1.0,
scale_y = 1.0,
button_gestures = {
[32] = "ignore",
[33] = "ignore"
},
default_cooldown = 2,
mt_eval = 5,
mt_disable = true,
motion_block = false,
warp_press = true,
timeout = 1,
swipe_threshold = 0.2,
drag_threshold = 0.2,
gestures = {
-- idle_return, popup helper menu to select / control modes
["idle_return"] = "/global",
-- ["idle_return"] = "/global/tools/dterm",
}
};
|
-- Modified the following part with the address and the auth code with your device.
url = 'http://192.168.1.204/sony/system'
headername = 'X-Auth-PSK'
headervalue = '0000'
function getPowerStatus()
local jsonbodygetstatus = '{\\"id\\":2,\\"method\\":\\"getPowerStatus\\",\\"version\\":\\"1.0\\",\\"params\\":[]}'
local runcommand = 'curl -v -H \"Content-Type:application/json\" -H \"' .. headername .. ':' .. headervalue .. '\" -d \"' .. jsonbodygetstatus .. '\" ' .. url .. ''
print(runcommand)
local h=io.popen(runcommand)
local response=h:read("*a")
h:close()
if string.find(response, '{"status":"active"}') then
return 'active'
elseif string.find(response, '{"status":"standby"}') then
return 'standby'
else
return 'unkown'
end
end
commandArray = {}
if(devicechanged['TV']) then
jsonbodypoweroff = '{\\"id\\":2,\\"method\\":\\"setPowerStatus\\",\\"version\\":\\"1.0\\",\\"params\\":[{ \\"status\\" : false}]}'
jsonbodypoweron = '{\\"id\\":2,\\"method\\":\\"setPowerStatus\\",\\"version\\":\\"1.0\\",\\"params\\":[{ \\"status\\" : true}]}'
powerStatus = getPowerStatus()
print('TV status is: ' .. powerStatus ..'')
if (devicechanged['TV'] == 'On') then
if powerStatus == 'standby' then
---jxm remotely turn on the TV
runcommand = 'curl -v -H \"Content-Type:application/json\" -H \"' .. headername .. ':' .. headervalue .. '\" -d \"' .. jsonbodypoweron .. '\" ' .. url .. ''
response = os.execute(runcommand)
if response then
print('TV is ON')
else
print('TV turn on failed')
end
end
end
if (devicechanged['TV'] == 'Off') then
runcommand = 'curl -v -H \"Content-Type:application/json\" -H \"' .. headername .. ':' .. headervalue .. '\" -d \"' .. jsonbodypoweroff .. '\" ' .. url .. ''
response = os.execute(runcommand)
if response then
print('TV goes sleepy sleep')
else
print('TV not in the mood for sleepy sleep')
end
end
end
return commandArray
|
local fps = 0
local deltaTime = 0
local isClear = { false, false }
local towerNightNum = 0
function updateValues(_deltaTime, _fps, _isClear, _towerNightNum)
deltaTime = _deltaTime
fps = _fps
isClear = _isClear
towerNightNum = _towerNightNum
deltaTime = _deltaTime
end |
local CreateBoneNode = {}
function CreateBoneNode.createWithExport(export,armatureName)
ccs.ArmatureDataManager:getInstance():addArmatureFileInfo(export)
local actor = ccs.Armature:create(armatureName)
return actor
end
return CreateBoneNode
|
return Def.ActorFrame{
--Background Colored 1p vs2p ------------------------------------------
LoadActor( "Background_ddr2013.png" )..{
InitCommand=cmd(zoom,1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;setsize,1476,1476);
OnCommand=cmd(playcommand,"Animate");
AnimateCommand=cmd(rotationz,0;linear,60;rotationz,360;queuecommand,"Animate");
};
-- BACKGROUND ROTATION EFFECTS ---------------------------------------------------
LoadActor( "BackgroundEffect_ddr2013.png" )..{
InitCommand=cmd(zoom,0.9;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0.5;blend,Blend.Add;;;setsize,1476,1476);
OnCommand=cmd(spin;effectmagnitude,0,0,10);
};
LoadActor( "BackgroundEffect_ddr2013.png" )..{
InitCommand=cmd(blend,'BlendMode_Add';zoom,1;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0.75;setsize,1476,1476);
--SPIN;effectmagnitude,x,y,z
OnCommand=cmd(spin;effectmagnitude,0,0,15);
};
LoadActor( "BackgroundEffect_ddr2013.png" )..{
InitCommand=cmd(rotationz,90;zoom,1.3;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0.25;blend,Blend.Add;;;setsize,1476,1476);
OnCommand=cmd(spin;effectmagnitude,0,0,-5);
};
--LOGO---------------------------------------------------
LoadActor( "DDR2013_logo" )..{
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoom,2;),
OnCommand=cmd(diffusealpha,0;sleep,0.25;linear,0.6;zoom,1;diffusealpha,1;sleep,1);
};
LoadActor( "DDR2013_logo" )..{
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;),
OnCommand=cmd(diffusealpha,0;playcommand,"Animate");
AnimateCommand=cmd(sleep,1.5;linear,0.5;zoom,1;blend,'BlendMode_Add';diffusealpha,0.8;decelerate,2.7;zoom,2;diffusealpha,0;sleep,10;queuecommand,"Animate");
};
LoadActor( "DDR2013_Blend.png" )..{
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoom,.95;addy,-3);
OnCommand=cmd(blend,'BlendMode_Add';diffusealpha,0;sleep,2.6;playcommand,"Animate");
AnimateCommand=cmd(diffusealpha,0;accelerate,0.8;diffusealpha,0.6;
decelerate,0.8;diffusealpha,0;sleep,0.5;queuecommand,"Animate");
};
-- Soustitre
LoadActor( "konami_copyright" )..{
OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;sleep,0.916;linear,0.4);
};
-- DOUBLE PREMIUM
LoadActor("DOUBLE PREMIUM") .. {
-- InitCommand=cmd(zoom,1.1;y,SCREEN_CENTER_Y-205;diffuseshift;effectcolor1,1,1,1,1;effectcolor2,0.9,0.9,0.9,1;effectperiod,0.33);
InitCommand=cmd(zoom,1.8;y,SCREEN_CENTER_Y-310;diffuseshift;effectcolor1,1,1,1,1;effectcolor2,0.9,0.9,0.9,1;effectperiod,0.33);
OnCommand=function(self)
if GAMESTATE:GetPremium() == "Premium_2PlayersFor1Credit" then
-- self:x(SCREEN_RIGHT-138)
self:x(SCREEN_RIGHT-130)
elseif GAMESTATE:GetPremium() == "Premium_DoubleFor1Credit" then
-- self:x(SCREEN_RIGHT-84)
self:x(SCREEN_RIGHT-130)
else
self:visible(false)
end
end;
};
-- JOINT PREMIUM
LoadActor("JOINT PREMIUM") .. {
-- InitCommand=cmd(zoom,1.1;x,SCREEN_RIGHT-84;y,SCREEN_CENTER_Y-205;diffuseshift;effectcolor1,1,1,1,1;effectcolor2,0.9,0.9,0.9,1;effectperiod,0.33);
InitCommand=cmd(zoom,1.8;x,SCREEN_RIGHT-130;y,SCREEN_CENTER_Y-230;diffuseshift;effectcolor1,1,1,1,1;effectcolor2,0.9,0.9,0.9,1;effectperiod,0.33);
Condition = GAMESTATE:GetPremium() == "Premium_2PlayersFor1Credit";
};
};
|
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE)
local area = createCombatArea(AREA_WAVE4, AREADIAGONAL_WAVE4)
combat:setArea(area)
function onGetFormulaValues(player, level, maglevel)
local min = (level / 5) + (maglevel * 1.25) + 4
local max = (level / 5) + (maglevel * 2) + 12
return -min, -max
end
combat:setCallback(CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
local spell = Spell("instant")
function spell.onCastSpell(creature, var)
return combat:execute(creature, var)
end
spell:group("attack")
spell:id(19)
spell:name("Fire Wave")
spell:words("exevo flam hur")
spell:level(18)
spell:mana(25)
spell:isPremium(true)
spell:needDirection(true)
spell:cooldown(4 * 1000)
spell:groupCooldown(2 * 1000)
spell:needLearn(false)
spell:vocation("sorcerer;true", "master sorcerer;true")
spell:register() |
local core = require 'core'
local process = require 'process'
local pmconfig = require 'plugins.lxpm.config'
local util = {}
---@param data string
---@param pattern string
---@return table,integer
function util.parse_data(data, pattern)
local result, size = {}, 0
for name, path, description in data:gmatch(pattern) do
name = util.trim(name)
if pattern == pmconfig.patterns.plugins then
if pmconfig.ignore_plugins[name] then
goto skip
end
end
result[name] = {
path=util.trim(path),
description=util.trim(description or ""),
}
size = size + 1
::skip::
end
return result, size
end
---@param str string
---@return string|nil
function util.trim(str)
if str == nil or str == "" then
return nil
end
str = str:sub(str:find("[%w|%S]")-0):reverse()
str = str:sub(str:find("[%w|%S]")-0):reverse()
return str
end
---@param str string
---@param sep string
---@return table
function util.split(str, sep)
if str == nil then return {} end
sep = sep or "[ |\n]"
local result = {}
while true do
local new = str:find(sep)
if new == nil then
if str ~= "" then table.insert(result, str) end
break
end
local text = str:sub(1, new-1)
if text ~= "" then table.insert(result, text) end
str = str:sub(new+1)
end
return result
end
---Reads from stream.
---@param proc process
---@param stream process.STREAM_STDERR | process.STREAM_STDOUT
---@param size? integer
---@return string
function util.read(proc, stream, size)
size = size or 2048
local readed = 0
local data = {}
while readed < size do
local d = proc:read(stream, size - readed)
if d == nil or #d == 0 then break end
table.insert(data, d)
readed = readed + #d
end
return table.concat(data, "")
end
---A non-blocking function to run commands on the system
---@param command table
---@param callback fun(integer, string, string)
function util.run(command, callback)
local proc = process.start(command)
while proc:running() do
coroutine.yield(0.1)
end
local read_size = 10485760 -- 10MiB
local code = proc:returncode()
local out = util.read(proc, process.STREAM_STDOUT, read_size)
local err = util.read(proc, process.STREAM_STDERR, read_size)
core.add_thread(callback, nil, code, out, err)
end
return util
|
--
-- I never tread... lightly.
-- Author: Dubpub
-- Date: 9/16/2015
-- Time: 4:24 PM
-- Use as you please, it's LUA for christ's sake.
--
--[[
-- Luther's main goal is basically to f**k your prison.
-- ]]
local Time = Game.Time;
local Delay = 10;
local KillDelay = 0;
local KillTime = 60;
local Ready = Time();
function tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
return count
end
function HuntForPrisoner()
local hunted = this.GetNearbyObjects("Prisoner", 100);
local size = tablelength(hunted);
local target;
if size > 0 then
local picked = math.random(1, size);
local count = 1;
for Prisoner, _ in next, hunted do
-- Did we find him?
if count == picked then
target = Prisoner;
end
count = count + 1;
-- Manipulate the lot!
Prisoner.StatusEffects.angst = 2500;
Prisoner.StatusEffects.suppressed = 0;
Prisoner.StatusEffects.calming = 0;
Prisoner.Needs.Freedom = 200;
Prisoner.Needs.Food = 200;
Prisoner.Needs.Hygiene = 200;
Prisoner.Needs.Family = 200;
Prisoner.BoilingPoint = 100;
-- This particular prisoner is misbehaving in some way... MAKE HIM RIOT!
if Object.GetProperty(Prisoner, "Misbehavior") ~= nil then
Prisoner.Misbehavior = "Rioting";
end
-- If the prisoner is using held equipment... GIVE HIM A SHOTGUN!
if Object.GetProperty(Prisoner, "Equipment") ~= nil then
Prisoner.Equipment = "Shotgun";
end
end
end
if target == nil then
Game.DebugOut("Target was nil...");
end
return target;
end
function ScareNearbyGuards()
local guards = this.GetNearbyObjects("Guard", 10);
if tablelength(guards) > 0 then
for Guard, _ in next, guards do
local eventID = math.random(1, 3);
if eventID == 1 then
-- RUN AWAY!
Guard.ClearRouting();
Guard.NavigateTo(this.Pos.x + 10, this.Pos.y);
elseif eventID == 2 then
-- Teleport to front of prison property
Guard.Pos.x = 50;
Guard.Pos.y = 50;
else
-- Knock out guard.
Guard.Damage = 0.85;
end
end
end
end
function Create()
end
function Update()
if Time() > Ready then
Act( Delay )
Ready = Ready + Delay
KillDelay = KillDelay + 1;
end
end
-- Update following.
function Act( elapsedTime )
-- Get a victim
local target = HuntForPrisoner();
if target ~= nil then
-- Teleport to victim
this.Pos.x = target.Pos.x;
this.Pos.y = target.Pos.y;
local hork = math.random(1,15);
if hork > 1 and hork < 5 then
-- Hurt
target.Damage = 0.5;
elseif hork > 5 and hork < 9 then
-- Give them a status effect
target.StatusEffects.virusdeadly = 1000;
elseif hork > 9 and hork < 13 then
target.StatusEffects.overdosed = 50;
elseif hork == 14 then
target.StatusEffects.wounded = 50;
elseif hork == 15 then
-- If kill, scare the guards.
-- Kill
target.Damage = 1;
end
local eventID = math.random(1,4);
if eventID == 1 then
Game.DebugOut("Scaring nearby guards!");
ScareNearbyGuards();
elseif eventID == 2 then
Game.DebugOut("Spawn new, angry, inmates!");
local count = 0;
repeat
local Prisoner = Object.Spawn("Prisoner", this.Pos.x, this.Pos.y);
Prisoner.StatusEffects.angst = 2500;
Prisoner.StatusEffects.suppressed = 0;
Prisoner.BoilingPoint = 100;
count = count + 1;
until(count == hork);
elseif eventID == 3 then
Game.DebugOut("Spawn some tasty contraband.");
local tempGuard = Object.Spawn("ArmedGuard", this.Pos.x, this.Pos.y);
local tempDoc = Object.Spawn("Doctor", this.Pos.x, this.Pos.y);
if tempGuard ~= nil and tempDoc ~= nil then
tempGuard.Damage = 0.85;
tempGuard.Delete();
tempDoc.Damage = 0.85;
tempDoc.Delete();
end
elseif eventID == 4 then
Game.DebugOut("Set all status effects to rioting!");
local prisoners = this.GetNearbyObjects("Prisoner", 50);
for Prisoner, _ in next, prisoners do
local misb = Prisoner.Misbehavior;
if misb ~= nil then
Prisoner.StatusEffects.rioting = 1;
end
end
end
end
if KillDelay == KillTime then
this.Delete();
end
end
|
--
-- Includes
--
-- mod
local Defines = require('defines')
local Guibuild = require('gui_build')
local Guiconfig = require('gui_config')
local Csv = require('csv')
-- stdlib
local Entity = require('__stdlib__/stdlib/entity/entity')
local Is = require('__stdlib__/stdlib/utils/is')
local Graphtool =
{
__call = function(self, ...)
return self.new(...)
end
}
local Graphtool_meta =
{
__index = Graphtool
}
local function config_default()
return
{
enabled = Defines.default_enabled,
ticks = Defines.default_ticks,
separate = Defines.default_separate,
allow_neg = Defines.default_allow_neg
}
end
setmetatable(Graphtool, Graphtool)
-- if Defines.debug then
-- debug_obj(Graphtool, "Graphtool", { "onTick" } )
-- end
local colours =
{
["red"] = defines.wire_type.red,
["green"] = defines.wire_type.green
}
function Graphtool.metatable(GT)
if Is.Table(GT) then
setmetatable(GT, Graphtool_meta)
end
end
local function items_default()
return { red = {}, green = {}, merged = {} }
end
function Graphtool.new(entity)
log("Graphtool:new()")
local GT =
{
items = items_default(),
ui = {},
config = config_default(),
entity = nil,
pole = nil,
ui_events = {}
}
Graphtool.metatable(GT)
GT.entity = entity
GT.pole = entity.surface.create_entity{ name=Defines.pole_entity,
position = {x = entity.position.x, y = entity.position.y},
force = entity.force }
GT.stats = GT.pole.electric_network_statistics
return GT
end
function Graphtool:removeAllGui()
log("Graphtool:removeAllGui()")
if self.ui then
for player_index, Gui in pairs(self.ui) do
Gui:removeGui()
--self.ui[player_index] = nil
end
end
end
function Graphtool:destroy()
log("Graphtool:destroy()")
self:removeAllGui()
self.stats = nil
self.pole.destroy()
self.pole = nil
end
function Graphtool:process_signals(signals, store_key, entity_prefix)
for _, signal in pairs(signals) do
local signal_count = signal.count/60
if signal_count < 0 and not self.config.allow_neg then
-- If value is negative and config.allow_neg is not set, ignore this signal.
break
end
local signal_name = entity_prefix .. "-" .. signal.signal.name
self.stats.on_flow(signal_name, signal_count)
if self.config.ticks > 1 then -- If we're not reading the network every tick, cache values
self.items[store_key][signal_name] = signal_count
end
--self.items[colour][signal.signal.name] = {item_type = signal.signal.type, item_count=signal.count}
end
end
function Graphtool:onTick()
if self.config.ticks == 1 or game.tick % self.config.ticks == 0 then
-- Read the signal network every config.ticks (defaults to 1)
if self.config.ticks > 1 then
self.items = items_default() -- Wipe all stored values, ready for next read.
end
if self.config.separate then
for colour, wire in pairs(colours) do
local network = self.entity.get_circuit_network(wire)
if network and network.signals then
self:process_signals(network.signals, colour, "graphtool-" .. colour)
end
end
else -- Merged signals
local signals = self.entity.get_merged_signals()
if signals then
self:process_signals(signals, "merged", "graphtool")
end
end
else -- If not reading this tick, re-send stored signals.
stored_list = self.config.separate and {"red", "green"} or {"merged"}
for _, stored_type in pairs(stored_list) do
for signal_name, signal_count in pairs(self.items[stored_type]) do
self.stats.on_flow(signal_name, signal_count)
end
end
end
end
function Graphtool:createGui(player_index)
log("Graphtool:createGui()")
if self.ui[player_index] then
self.ui[player_index]:destroy()
end
local GC = Guiconfig(player_index)
self.ui[player_index] = Guibuild(GC, self)
--self.ui[player_index].ui_top["Graphtool"]["frameConfigHeader"]["flowConfig"]["tableConfigRadio"].style.column_alignments[1] = "right"
end
function Graphtool:removeGui(player_index)
log("Graphtool:removeGui()")
if self.ui[player_index] then
self.ui[player_index]:removeGui()
self.ui[player_index] = nil
end
end
function Graphtool:Gui_metatable()
log("Graphtool:Gui_metatable()")
if self.ui then
for player_index, Gui in pairs(self.ui) do
Guibuild.metatable(Gui)
end
end
end
return Graphtool
|
local HYutil = require("HYutil.HY")
local VC = require("HYutil.VC")
---------------------------------------------
-- NONLINEAR --------------------------------
---------------------------------------------
--v1.0
local NL = {
tag={collectConf=false, createVelocityCurve=false, createNLValues=false},
}
NL = HYutil:new(NL)
--[[
简单非线性数值计算
创建NL对象
nl_conf = {
num_s = number --起始值(因缓动曲线 生成结果会超出或小于此值)
num_e = number --结束值(因缓动曲线 生成结果会超出或小于此值)
vc = table --缓动曲线
--num_type = "hex" --转换为十六进制形式(可选)
}
计算非线性数值
NL:new(nl_conf):createNLValues(10)
]]
function NL:collectConf()
--收集配置
if type(self.nl_conf) ~= "table" then
self.nl_conf = {}
end
self.nl_conf.num_s = self.nl_conf.num_s or self.num_s
assert(type(self.nl_conf.num_s) == "number", "number num_s not found!")
self.nl_conf.num_e = self.nl_conf.num_e or self.num_e
assert(type(self.nl_conf.num_e) == "number", "number num_e not found!")
self.nl_conf.vc = self.nl_conf.vc or self.vc
assert(type(self.nl_conf.vc) == "table", "table vc not found!")
self.nl_conf.num_type = self.nl_conf.num_type or self.num_type
--初始化
for k, _ in pairs(self) do
if k ~= "nl_conf" and k ~= "tag" and k ~= "cache" then
self[k] = nil
end
end
self.tag.collectConf = true
return self
end
function NL:createVelocityCurve(frame)
if not self.tag.collectConf then self:collectConf() end
local new_vc = self.nl_conf.vc
new_vc = VC:new(new_vc)
new_vc:createVelocityCurve(frame)
self.tag.createVelocityCurve = true
return self
end
function NL:toHex()
for k, num in ipairs(self) do
self[k] = string.format('%X', num)
end
return self
end
function NL:createNLValues(frame)
if self.tag.createNLValues then return self end
assert(frame >= 1, "frame number error!(frame must >= 1)")
if not self.tag.createVelocityCurve then self:createVelocityCurve(frame) end
local num_s, num_e, num_diff = self.nl_conf.num_s, self.nl_conf.num_e, self.nl_conf.num_e - self.nl_conf.num_s
local vc = self.nl_conf.vc
for i=1, frame do
local step = vc[i]
self[i] = num_s + num_diff * step
end
if self.nl_conf.num_type == "hex" then self:toHex() end
self.tag.createNLValues = true
return self
end
return NL
|
Package.Require("Configuration.lua")
-- Currently Grabbed Instruments
GrabbingInstrument = nil
IsHoldingAlt = false
-- When I grab an Instrument (called by Server)
Events.Subscribe("GrabInstrument", function(instrument)
-- Adds some notification when grabbing the Balloon Tool
Package.Call("sandbox", "AddNotification", "INSTRUMENT_USE", "use numeric keys 1-9 to play this instrument!", 10000, 1000)
GrabbingInstrument = instrument
end)
-- When I release an Instrument (called by Server)
Events.Subscribe("UnGrabInstrument", function(instrument)
GrabbingInstrument = nil
end)
-- Handles playing a Note
Client.Subscribe("KeyPress", function(key)
if (key == "LeftAlt") then
IsHoldingAlt = true
return
end
-- If not grabbing an Instrument, ignores it
if (not GrabbingInstrument) then return end
-- Get the Note from Key
local note_key = NotesKeys[key]
if (not note_key) then return end
-- Get the Sound from Instrument
local note_sound = InstrumentNotes[GrabbingInstrument:GetValue("Instrument")]
if (not note_sound) then return end
local note_pitch = 1
-- Sound can be in a Table (one sound for each Note) or an unique sound
-- When the sound is unique, we suppose it is an A Major, and multiply it by the correspondent Pitch to simulate other notes
if (type(note_sound) == "table") then
note_sound = note_sound[key]
else
note_pitch = Notes[note_key]
end
if (IsHoldingAlt) then
note_pitch = note_pitch * 1.059463154545455
end
-- Calls remote to syncronize the sound
local volume = math.random(75, 100) / 100
local pitch = note_pitch * (math.random(99, 101) / 100)
Events.CallRemote("SpawnNote", note_sound, GrabbingInstrument, volume, pitch)
end)
Client.Subscribe("KeyUp", function(key)
if (key == "LeftAlt") then
IsHoldingAlt = false
end
end)
-- Called from Server to spawn a Sound
Events.Subscribe("SpawnNote", function(note, instrument, volume, pitch)
local PlayingInstrumentSound = Sound(instrument:GetLocation(), note, false, true, SoundType.SFX, volume or 1, pitch or 1, 200, 3600, AttenuationFunction.NaturalSound)
-- PlayingInstrumentSound:FadeOut(PlayingInstrumentSound:GetDuration(), 0)
PlayingInstrumentSound:AttachTo(instrument)
end)
|
e2function void entity:setPropVelocity( vector velocity )
if(not (this and this:IsValid())) then return end
local phys = this:GetPhysicsObject()
if IsValid( phys ) then
phys:SetVelocity(Vector(velocity[1], velocity[2], velocity[3]))
end
end
e2function void entity:setPropVelocityInstant( vector velocity )
if(not (this and this:IsValid())) then return end
local phys = this:GetPhysicsObject()
if IsValid( phys ) then
phys:SetVelocityInstantaneous(Vector(velocity[1], velocity[2], velocity[3]))
end
end |
dofile( "data/scripts/lib/utilities.lua" )
dofile( "data/scripts/perks/perk_list.lua" )
function OnModPreInit()
end
function OnModInit()
end
function OnModPostInit()
end
function OnPlayerSpawned( player_entity )
if tonumber(StatsGetValue("playtime")) > 1 then
return
end
local START_WITH_PERK = "GLASS_CANNON"
local perk_data
for i = 1, #perk_list do
local perk = perk_list[i]
if perk.id == START_WITH_PERK then
perk_data = perk
break
end
end
GameAddFlagRun(get_perk_picked_flag_name(perk_data.id))
if perk_data.game_effect ~= nil then
local game_effect_comp = GetGameEffectLoadTo( player_entity, perk_data.game_effect, true )
if game_effect_comp ~= nil then
ComponentSetValue( game_effect_comp, "frames", "-1" )
end
end
if perk_data.func ~= nil then
perk_data.func( nil, player_entity, nil )
end
local entity_ui = EntityCreateNew("")
EntityAddComponent(entity_ui, "UIIconComponent", {
name = perk_data.ui_name,
description = perk_data.ui_description,
icon_sprite_file = perk_data.ui_icon
})
EntityAddChild(player_entity, entity_ui)
GamePrintImportant(GameTextGet("$log_pickedup_perk", GameTextGetTranslatedOrNot(perk_data.ui_name)), perk_data.ui_description)
end
|
--[[ Description: CLinear class implements linear GNN module based on CMLinear but using L2 regularization with auto lambda determined by k-fold cross validation method.
]]
require 'math'
local dataLoad = dataLoad or require('./common_dataLoad.lua')
CMLinear = require('../lib_lua/CMLinear.lua')
CMLinearL2AutoLambda = torch.class('CMLinearL2AutoLambda', 'CMLinear')
-- get mean squared error
function CMLinearL2AutoLambda:getMSE(teX, teTheta, teY)
local mSE = (teY - torch.mm(teX, teTheta)):pow(2):mean()
return mSE
end
-- get beta, which is teTheta in the training process
function CMLinearL2AutoLambda:getBeta(dLambda, teInput, teTarget)
local teInputWB = teInput -- input with bias
local teInputWBT = teInputWB:transpose(1, 2) -- input with bias transpose matrix
local teOutput = teTarget
local lambda = dLambda
local teBeta = torch.mm(torch.mm(torch.inverse(torch.mm(teInputWBT, teInputWB) + torch.diag(lambda * torch.ones(teInputWBT:size(1)))), teInputWBT), teOutput)
return teBeta
end
-- create a mask for k-fold cross validation
function CMLinearL2AutoLambda:maskForKFold(teInput, teTarget, foldID, nFolds)
local nSize = teInput:size(1)
local teIdx = torch.linspace(1, nSize, nSize)
-- train:
local teTrainMask = torch.mod(teIdx, nFolds):ne(torch.Tensor(nSize):fill(foldID))
local teTrain_input = dataLoad.pri_getMasked(teInput, teTrainMask)
local teTrain_target = dataLoad.pri_getMasked(teTarget, teTrainMask)
-- test
local teTestMask = torch.mod(teIdx, nFolds):eq(torch.Tensor(nSize):fill(foldID))
local teTest_input = dataLoad.pri_getMasked(teInput, teTestMask)
local teTest_target = dataLoad.pri_getMasked(teTarget, teTestMask)
return teTrain_input, teTrain_target, teTest_input, teTest_target
end
-- get cross validation error
function CMLinearL2AutoLambda:getCVErr(l, teInput, teTarget, nFolds)
local nFoldModMax = nFolds - 1
local dTotalError = 0
local nCountFold = 0
for foldID = 0, nFoldModMax, 1 do
teTrain_input, teTrain_target, teTest_input, teTest_target = self:maskForKFold(teInput, teTarget, foldID, nFolds)
if ((teTrain_input ~= nil) and (teTrain_target ~= nil) and (teTest_input ~= nil) and (teTest_target ~= nil)) then
teBeta = self:getBeta(l, teTrain_input, teTrain_target)
dTempErr = self:getMSE(teTest_input, teBeta, teTest_target)
dTotalError = dTotalError + dTempErr
nCountFold = nCountFold + 1
else
print("Error in getCVErr call!!")
end
end
dTotalError = dTotalError / nCountFold
return dTotalError
end
function CMLinearL2AutoLambda:train(teInput, teTarget)
local teInputExtended = self:pri_extendWithMulTerms(teInput)
local teA = torch.cat(torch.ones(teInput:size(1), 1), teInputExtended)
local dBestErr = math.huge
local dBestLambda = 0
local nTempKFold = 5
local MAX_LAMBDA = 2
-- k-fold cross validation on lambda(0, 2, 10)
local maxPossibleK = teInput:size(1)
if maxPossibleK < 5 then
nTempKFold = maxPossibleK
end
for l = 0, MAX_LAMBDA, 0.2 do
tempErr = self:getCVErr(l, teA, teTarget, nTempKFold)
if tempErr < dBestErr then
dBestErr = tempErr
dBestLambda = l
end
end
local teBestTheta = self:getBeta(dBestLambda, teA, teTarget)
self.teTheta:copy(teBestTheta)
end
|
local Class = require("facto.class")
local AbstractType = require("facto.gui.abstracttype")
local ListBox = Class.extend({}, AbstractType)
ListBox.type = "listbox"
ListBox.RuleSupports = {
"color", "height", "width", "font"
}
local function parse_items(items)
local retval = {}
for index, item in ipairs(items) do
table.insert(retval, item.description)
end
return retval
end
function ListBox:initialize()
self.options.binding_disabled = self.options.binding_disabled or false
self.options.items = self.options.items or {}
end
function ListBox:getProps(props)
props.type = "list-box"
props.items = parse_items(self.options.items)
return props
end
function ListBox:addItem(item, index)
table.insert(self.options.items, item)
self.factoobj.add_item(item.description)
end
function ListBox:clearItems()
--@todo if dynamic binding, should update data
self.options.items = {}
self.factoobj.clear_items()
end
--[[
function transformer(value)
if type(value) == "table" then
return value:getId()
else
return Service:getById(id)
end
end
]]
function ListBox:getValue()
local value
local select_index = self.factoobj.selected_index
if select_index > 0 then
value = self.options.items[select_index].id
end
return value
end
-- @todo before setValue, if value is object then, translate to id
function ListBox:setValue(value)
-- self.options.object_to_id = function() end
local selected_index, item
for index, item in pairs(self.options.items) do
if item.id == value then
selected_index = index
break
end
end
self.factoobj.selected_index = selected_index or 0
end
function ListBox:removeItemById(id)
local remove_index, item
for index, item in pairs(self.options.items) do
if item.id == id then
remove_index = index
break
end
end
if remove_index ~= nil then
table.remove(self.options.items. remove_index)
self.factoobj.remove_item(remove_index)
end
end
-- @export
return ListBox |
--
-- Globals
--
Global = {}
Global.version = "2.0"
Global.debug = true
--
-- Libraries
--
local function loadLibrary(path)
local fn, err = loadfile(path)
if err then
error(err .. "\nFor file: " .. path)
end
local currentEnvironment = getfenv(1)
setfenv(fn, currentEnvironment)
fn()
end
loadLibrary(rootDirectory .. "/controller.lua")
loadLibrary(rootDirectory .. "/theme.lua")
loadLibrary(rootDirectory .. "/editor/content.lua")
loadLibrary(rootDirectory .. "/editor/editor.lua")
loadLibrary(rootDirectory .. "/editor/highlighter.lua")
loadLibrary(rootDirectory .. "/editor/file.lua")
loadLibrary(rootDirectory .. "/ui/menu.lua")
loadLibrary(rootDirectory .. "/ui/tab.lua")
loadLibrary(rootDirectory .. "/ui/responder.lua")
loadLibrary(rootDirectory .. "/ui/dialogue.lua")
loadLibrary(rootDirectory .. "/ui/panel.lua")
loadLibrary(rootDirectory .. "/ui/textfield.lua")
--
-- Main
--
--- Print `text` centered on the current cursor line.
--- Moves the cursor to the line below it after writing.
local function center(text)
local w = term.getSize()
local _, y = term.getCursorPos()
if text:len() <= w then
term.setCursorPos(math.floor(w / 2 - text:len() / 2) + 1, y)
term.write(text)
term.setCursorPos(1, y + 1)
else
term.setCursorPos(1, y)
print(text)
end
end
local displayEnding = false
local function main(args)
local controller = Controller.new(args)
if controller then
displayEnding = true
controller:run()
end
end
local args = {...}
local originalTerminal = term.current()
local _, err = pcall(main, args)
term.redirect(originalTerminal)
if err then
printError(err)
os.pullEvent("key")
os.queueEvent("")
os.pullEvent()
end
if displayEnding then
term.setBackgroundColor(colors.black)
term.setTextColor(colors.white)
term.clear()
term.setCursorPos(1, 1)
center("Thanks for using LuaIDE " .. Global.version)
center("By GravityScore")
print()
end
|
-------------------------------------------------------------------
--// PROJECT: Union of Clarity and Diversity
--// RESOURCE: UCDhousing
--// DEVELOPER(S): Lewis Watson (Noki)
--// DATE: 09/12/2015
--// PURPOSE: Player interaction with the housing system.
--// FILE: \client.lua [client]
-------------------------------------------------------------------
confirmation = {window={}, label={}, button={}}
--UCDhousing = {button = {}, window = {}, edit = {}, label = {}}
local sX, sY = guiGetScreenSize()
local nX, nY = 1366, 768
local leavingCOLs = {
[1] = {3, 235.23, 1186.67, 1080.25},
[2] = {2, 226.78, 1239.93, 1082.14},
[3] = {1, 223.07, 1287.08, 1082.13},
[4] = {15, 327.94, 1477.72, 1084.43},
[5] = {2, 2468.84, -1698.36, 1013.5},
[6] = {5, 226.29, 1114.27, 1080.99},
[7] = {15, 387.22, 1471.73, 1080.18},
[8] = {7, 225.66, 1021.44, 1084},
[9] = {8, 2807.62, -1174.76, 1025.57},
[10] = {10, 2270.41, -1210.53, 1047.56},
[11] = {3, 2496.05, -1692.09, 1014.74},
[12] = {10, 2259.38, -1135.9, 1050.63},
[13] = {8, 2365.18, -1135.6, 1050.87},
[14] = {5, 2233.64, -1115.27, 1050.88},
[15] = {11, 2282.82, -1140.29, 1050.89},
[16] = {6, 2196.85, -1204.45, 1049.02},
[17] = {6, 2308.76, -1212.94, 1049.02},
[18] = {1, 2218.4, -1076.36, 1050.48},
[19] = {2, 2237.55, -1081.65, 1049.02},
[20] = {9, 2317.77, -1026.77, 1050.21},
[21] = {6, 2333, -1077.36, 1049.02},
[22] = {5, 1260.64, -785.34, 1091.9},
[23] = {1, 243.71, 305.01, 999.14},
[24] = {2, 266.49, 304.99, 999.14},
[25] = {12, 2324.31, -1149.55, 1050.71},
[26] = {5, 318.57, 1114.47, 1083.88},
--[27] = {1, 243.71, 304.96, 999.14},
[27] = {5, 140.32, 1365.91, 1083.86},
[28] = {6, 234.13, 1063.72, 1084.2},
[29] = {9, 83.04, 1322.28, 1083.85},
[30] = {10, 23.92, 1340.16, 1084.37},
[31] = {15, 377.15, 1417.3, 1081.32},
[32] = {1, 2523.3279, -1679.1038, 1015.4986},
}
function leaveHouse(theElement)
if (theElement ~= localPlayer) or (localPlayer:isInVehicle()) then return false end
local houseID = localPlayer:getDimension()
--removeHouseNotification()
triggerServerEvent("UCDhousing.leaveHouse", localPlayer, houseID)
end
function handleleavingCOLs()
for i=1,#leavingCOLs do
local x, y, z = leavingCOLs[i][2], leavingCOLs[i][3], leavingCOLs[i][4]
local interior = leavingCOLs[i][1]
colCircle = createColTube(x, y, z -0.5, 1.3, 2.5)
colCircle:setInterior(interior)
addEventHandler("onClientColShapeHit", colCircle, leaveHouse)
end
end
addEventHandler("onClientResourceStart", resourceRoot, handleleavingCOLs)
function zToHouse(_, _, plr, thePickup)
if (not UCDhousing) then
outputDebugString(tostring(plr).." | "..tostring(thePickup:getData("houseID")))
triggerEvent("UCDhousing.fetchHouse.client", plr, thePickup:getData("houseID"))
end
end
function addHouseNotification(plr, thePickup)
exports.UCDdx:add("houseinfo", "Press Z: House Info", 255, 255, 0)
bindKey("z", "down", zToHouse, plr, thePickup)
if (plr:getData("Occupation") == "Criminal" or plr:getData("Occupation") == "Gangster") then
exports.UCDdx:add("houserob", "Press N: House Rob", 255, 0, 0)
bindKey("n", "down", nToRob, plr, thePickup)
end
end
function removeHouseNotification()
exports.UCDdx:del("houseinfo")
exports.UCDdx:del("houserob")
unbindKey("z", "down", zToHouse)
unbindKey("n", "down", nToRob)
end
local function onHitHouseMarker(thePickup, matchingDimension)
if (thePickup and isElement(thePickup)) then
if (source ~= localPlayer or not matchingDimension or localPlayer.vehicle or getPickupType(thePickup) ~= 3) then
return false
end
if (thePickup.model ~= 1272 and thePickup.model ~= 1273 or not thePickup:getData("houseID")) then
return
end
-- Instead of creating the GUI, we send the houseID to the server to fetch info for the GUI
local houseID = thePickup:getData("houseID")
addHouseNotification(source, thePickup)
outputDebugString("houseID = "..houseID)
end
end
addEventHandler("onClientPlayerPickupHit", root, onHitHouseMarker)
local function onLeaveHouseMarker(thePickup, matchingDimension)
if (source ~= localPlayer or not matchingDimension or localPlayer.vehicle or getPickupType(thePickup) ~= 3) then
return false
end
if (thePickup.model ~= 1272 and thePickup.model ~= 1273 or not thePickup:getData("houseID")) then
return
end
triggerEvent("UCDhousing.closeGUI", source)
removeHouseNotification()
end
addEventHandler("onClientPlayerPickupLeave", root, onLeaveHouseMarker)
-- We create the GUI each time as the player will not always be using accounts
function fetchHouseGUI(houseID)
if (localPlayer ~= source or UCDhousing ~= nil) then return false end
-- Trigger a server event and transfer everything over
triggerServerEvent("UCDhousing.fetchHouse.server", localPlayer, houseID)
end
addEvent("UCDhousing.fetchHouse.client", true)
addEventHandler("UCDhousing.fetchHouse.client", root, fetchHouseGUI)
function createGUI(houseTable)
if (UCDhousing) then return end
--outputDebugString(tostring(houseTable))
-- Assign table values to a variable name
local houseID = houseTable[1]
local owner = houseTable[2]
local houseName = houseTable[3]
local initialPrice = houseTable[4]
local currentPrice = houseTable[5]
local boughtForPrice = houseTable[6]
local interiorID = houseTable[7]
local open = houseTable[8]
local sale = houseTable[9]
local localPlayerAccountName = localPlayer:getData("accountName")
if (owner == nil) then
exports.UCDdx:new("Whoops! We couldn't load the house data for some reason. Reconnect to fix this.", 255, 0, 0)
exports.UCDdx:new("Error: table not synced - houseID: "..tostring(houseID), 255, 0, 0)
return
end
outputDebugString("Creating GUI for houseID: "..houseID)
outputDebugString("Owner ["..houseID.."]: "..owner)
-- This is where things get messy. Though this is the best way of phasing out syncing the whole housing table.
-- Set the GUI's properties (so we don't have to use element data)
UCDhousing = {button = {}, window = {}, edit = {}, label = {}, houseID = houseTable[1], houseData = {}}
for i = 1, #houseTable do
UCDhousing.houseData[i] = houseTable[i]
end
-- Create the actual GUI
UCDhousing.window[1] = GuiWindow(457, 195, 471, 336, "UCD | Housing [ID: "..houseID.."]", false)
UCDhousing.window[1].sizable = false
UCDhousing.window[1].alpha = 1
exports.UCDutil:centerWindow(UCDhousing.window[1])
UCDhousing.label[1] = GuiLabel(10, 23, 88, 20, "House name:", false, UCDhousing.window[1])
UCDhousing.label[2] = GuiLabel(10, 43, 88, 20, "Owner:", false, UCDhousing.window[1])
UCDhousing.label[3] = GuiLabel(10, 63, 88, 20, "Initial price:", false, UCDhousing.window[1])
UCDhousing.label[4] = GuiLabel(10, 83, 88, 20, "Bought for:", false, UCDhousing.window[1])
UCDhousing.label[5] = GuiLabel(10, 103, 88, 20, "Price:", false, UCDhousing.window[1])
UCDhousing.label[6] = GuiLabel(10, 123, 88, 20, "Interior:", false, UCDhousing.window[1])
UCDhousing.label[7] = GuiLabel(10, 143, 88, 20, "Open:", false, UCDhousing.window[1])
UCDhousing.label[8] = GuiLabel(10, 163, 88, 20, "On sale:", false, UCDhousing.window[1])
-- These are dynamic
UCDhousing.label[9] = GuiLabel(108, 23, 115, 20, houseName, false, UCDhousing.window[1])
UCDhousing.label[10] = GuiLabel(108, 43, 115, 20, tostring(owner), false, UCDhousing.window[1])
UCDhousing.label[11] = GuiLabel(108, 63, 115, 20, "$"..exports.UCDutil:tocomma(initialPrice), false, UCDhousing.window[1])
UCDhousing.label[12] = GuiLabel(108, 83, 115, 20, "$"..exports.UCDutil:tocomma(boughtForPrice), false, UCDhousing.window[1])
UCDhousing.label[13] = GuiLabel(108, 103, 115, 20, "$"..exports.UCDutil:tocomma(currentPrice), false, UCDhousing.window[1])
UCDhousing.label[14] = GuiLabel(108, 123, 115, 20, interiorID, false, UCDhousing.window[1])
UCDhousing.label[15] = GuiLabel(108, 143, 115, 20, "nil", false, UCDhousing.window[1])
UCDhousing.label[16] = GuiLabel(108, 163, 115, 20, "nil", false, UCDhousing.window[1])
UCDhousing.label[17] = GuiLabel(0, 179, 471, 19, "__________________________________________________________________________________________", false, UCDhousing.window[1])
guiLabelSetHorizontalAlign(UCDhousing.label[17], "center", false)
UCDhousing.label[18] = GuiLabel(238, 23, 15, 160, "|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|", false, UCDhousing.window[1])
local housingLabels1 = {UCDhousing.label[1], UCDhousing.label[2], UCDhousing.label[3], UCDhousing.label[4], UCDhousing.label[5], UCDhousing.label[6], UCDhousing.label[7], UCDhousing.label[8]}
local housingLabels2 = {UCDhousing.label[9], UCDhousing.label[10], UCDhousing.label[11], UCDhousing.label[12], UCDhousing.label[13], UCDhousing.label[14], UCDhousing.label[15], UCDhousing.label[16], UCDhousing.label[17], UCDhousing.label[18]}
for _, v in pairs(housingLabels1) do
v:setFont("clear-normal")
v:setHorizontalAlign("right", false)
v:setVerticalAlign("center")
end
for _, v in pairs(housingLabels2) do
v:setVerticalAlign("center")
end
UCDhousing.button[1] = GuiButton(278, 33, 161, 60, "Purchase house", false, UCDhousing.window[1])
UCDhousing.button[2] = GuiButton(278, 113, 161, 60, "Enter this house", false, UCDhousing.window[1])
UCDhousing.edit[1] = GuiEdit(20, 212, 270, 44, "", false, UCDhousing.window[1])
UCDhousing.button[3] = GuiButton(319, 212, 120, 44, "Set price", false, UCDhousing.window[1])
UCDhousing.button[4] = GuiButton(20, 273, 94, 46, "Toggle sale", false, UCDhousing.window[1])
UCDhousing.button[5] = GuiButton(129, 273, 94, 46, "Toggle open house", false, UCDhousing.window[1])
UCDhousing.button[6] = GuiButton(235, 273, 94, 46, "Sell house to bank", false, UCDhousing.window[1])
UCDhousing.button[7] = GuiButton(345, 273, 94, 46, "Close", false, UCDhousing.window[1])
-- Check if the house is open, and set the text accordingly
if (open == 1) then
UCDhousing.label[15]:setText("Yes")
UCDhousing.button[2]:setEnabled(true)
else
UCDhousing.label[15]:setText("No")
UCDhousing.button[2]:setEnabled(false)
end
-- Check if the house is for sale, and set the text accordingly
if (sale == 1) then
UCDhousing.label[16]:setText("Yes")
UCDhousing.button[1]:setEnabled(true)
else
UCDhousing.label[16]:setText("No")
UCDhousing.button[1]:setEnabled(false)
end
-- If we have an owner
if (localPlayerAccountName ~= "UCDhousing") then
if (localPlayerAccountName == owner) then
-- The owner must be able to enter his house, regardless of whether it's open or not
UCDhousing.button[1]:setEnabled(false)
UCDhousing.button[2]:setEnabled(true)
UCDhousing.button[3]:setEnabled(true)
UCDhousing.button[4]:setEnabled(true)
UCDhousing.button[5]:setEnabled(true)
if (not Resource.getFromName("UCDmarket") or Resource.getFromName("UCDmarket"):getState() ~= "running" or not root:getData("housing.rate")) then
UCDhousing.button[6]:setEnabled(false)
else
UCDhousing.button[6]:setEnabled(true)
end
else
UCDhousing.button[3]:setEnabled(false)
UCDhousing.button[4]:setEnabled(false)
UCDhousing.button[5]:setEnabled(false)
UCDhousing.button[6]:setEnabled(false)
end
end
-- We have to set this here so we don't have people trying to crash the database and fuck it up
-- May have to add extra security measures and do double checks :/
-- 14 because we have to account for commas and billions
UCDhousing.edit[1]:setMaxLength(14)
-- We have to disable this button regardless of whether the hit element was the owner or not
--if (Resource("UCDmarket") and Resource("UCDmarket"):getState() ~= "running") then
-- UCDhousing.button[6]:setEnabled(false)
--end
showCursor(true)
addEventHandler("onClientGUIClick", UCDhousing.window[1], handleGUIInput)
end
addEvent("UCDhousing.createGUI", true)
addEventHandler("UCDhousing.createGUI", root, createGUI)
function closeGUI()
if (source ~= localPlayer or not UCDhousing or not isElement(UCDhousing.window[1])) then return end
if (isElement(UCDhousing.window[1])) then
-- We destroy the confirmation window if it's active
if (isElement(confirmation.window[1])) then
confirmation.window[1]:destroy()
end
UCDhousing.window[1]:destroy()
end
if (isCursorShowing()) then
showCursor(false)
end
removeHouseNotification()
UCDhousing = nil
end
addEvent("UCDhousing.closeGUI", true)
addEventHandler("UCDhousing.closeGUI", root, closeGUI)
-- Add anti-spam here
--hasClicked = false
function handleGUIInput()
-- So we can add a universal antispam/anticlick for the whole housing UI [we can have one statement instead of lots of nested ones within in check for source]
if (not isElement(UCDhousing.window[1]) or source:getParent() ~= UCDhousing.window[1]) then return end
--outputDebugString(UCDhousing.houseID[1])
--if hasClicked == true then
-- return
--end
-- Close
if (source == UCDhousing.button[7]) then
triggerEvent("UCDhousing.closeGUI", localPlayer)
-- Enter house
elseif (source == UCDhousing.button[2]) then
if (UCDhousing.button[2]:getEnabled()) then
local houseID = UCDhousing.houseID
--local interiorID = getHouseData(houseID, "interiorID")
outputDebugString("Entering house... ID = "..houseID)
--triggerServerEvent("UCDhousing.enterHouse", localPlayer, houseID, interiorID)
triggerServerEvent("UCDhousing.enterHouse", localPlayer, houseID)
removeHouseNotification()
triggerEvent("UCDhousing.closeGUI", localPlayer)
end
-- Purchase house
elseif (source == UCDhousing.button[1]) then
local houseID = UCDhousing.houseID
--local housePrice = getHouseData(houseID, "currentPrice")
local housePrice = UCDhousing.houseData[5]
if (localPlayer:getMoney() >= housePrice) then
-- Maybe we could make an export from this
--createConfirmationWindow(houseID, "Are you sure you want to buy house\n "..getHouseData(houseID, "houseName").." [ID: "..houseID.."]\n for $"..exports.UCDutil:tocomma(housePrice).."?", purchaseHouse)
createConfirmationWindow(houseID, "Are you sure you want to buy house\n "..UCDhousing.houseData[5].." [ID: "..houseID.."]\n for $"..exports.UCDutil:tocomma(housePrice).."?", purchaseHouse)
else
exports.UCDdx:new("You don't have enough money to buy this house!", 255, 0, 0)
end
-- Set house price
elseif (source == UCDhousing.button[3]) then
if (UCDhousing.button[3]:getEnabled()) then
local houseID = UCDhousing.houseID
local price = UCDhousing.edit[1]:getText()
setHousePrice(houseID, price)
end
-- Toggle sale
elseif (source == UCDhousing.button[4]) then
if (UCDhousing.button[4]:getEnabled()) then
local houseID = UCDhousing.houseID
--local state = getHouseData(houseID, "sale")
local state = UCDhousing.houseData[9]
if (state == 1) then state = false else state = true end
toggleSale(houseID, state)
end
-- Toggle open
elseif (source == UCDhousing.button[5]) then
if (UCDhousing.button[5]:getEnabled()) then
local houseID = UCDhousing.houseID
--local state = getHouseData(houseID, "open")
local state = UCDhousing.houseData[8]
if (state == 1) then state = false else state = true end
toggleOpen(houseID, state)
end
-- Sell house to bank
elseif (source == UCDhousing.button[6]) then
if (UCDhousing.button[6]:getEnabled()) then
--if (not Resource.getFromName("UCDmarket"))
local houseID = UCDhousing.houseID
--local price = getHouseData(houseID, "boughtForPrice")
local price = UCDhousing.houseData[6]
local rate = root:getData("housing.rate")
createConfirmationWindow(houseID, "Current rate is "..tostring(rate).."% \nDo you want to sell your house for \n"..tostring(rate).."% of what it is worth [$"..exports.UCDutil:tocomma(tostring(math.floor(price * (rate / 100)))).."]?", sellHouseToBank)
--sellHouseToBank(houseID)
end
end
--hasClicked = true
--setTimer(function () hasClicked = false end, 2000, 1)
end
--addEventHandler("onClientGUIClick", guiRoot, handleGUIInput)
function onClientGUIChanged()
if (source:getParent() ~= UCDhousing.window[1]) then return end
if (source == UCDhousing.edit[1]) then
local text = UCDhousing.edit[1]:getText()
--if (not text:find("%d")) then
-- outputDebugString("strange char found")
--end
text = text:gsub(",", "")
if (tonumber(text)) then
UCDhousing.edit[1]:setText(exports.UCDutil:tocomma(tonumber(text)))
--if (guiEditGetCaretIndex(UCDhousing.edit[1]) == string.len(UCDhousing.edit[1]:getText())) then
outputDebugString(tostring(getKeyState("backspace")))
if (not getKeyState("backspace")) then
guiEditSetCaretIndex(UCDhousing.edit[1], string.len(UCDhousing.edit[1]:getText()))
end
end
end
end
addEventHandler("onClientGUIChanged", guiRoot, onClientGUIChanged)
function toggleOpen(houseID, state)
if (not houseID) then return false end
--if (localPlayer:getData("accountName") ~= getHouseData(houseID, "owner")) then return false end
if (localPlayer:getData("accountName") ~= UCDhousing.houseData[2]) then return false end
UCDhousing.button[5]:setEnabled(false)
triggerServerEvent("UCDhousing.toggleOpen", localPlayer, houseID, state)
end
function toggleSale(houseID, state)
if (not houseID) then return false end
--if (localPlayer:getData("accountName") ~= getHouseData(houseID, "owner")) then return false end
if (localPlayer:getData("accountName") ~= UCDhousing.houseData[2]) then return false end
UCDhousing.button[4]:setEnabled(false)
triggerServerEvent("UCDhousing.toggleSale", localPlayer, houseID, state)
end
-- This is used for setting the price
function setHousePrice(houseID, price)
--if (localPlayer:getData("accountName") ~= getHouseData(houseID, "owner")) then return false end -- The GUI should be disabled if you are not the owner, but a double check can't hurt for now
if (localPlayer:getData("accountName") ~= UCDhousing.houseData[2]) then return false end -- The GUI should be disabled if you are not the owner, but a double check can't hurt for now
local price = price:gsub(",", "")
-- These checks are shit and should be refined
if (price == "") or (not price) then
exports.UCDdx:new("Do you really want to sell your house for nothing? I don't think so :)", 255, 0, 0)
return false
end
if (tonumber(price) == nil) then
exports.UCDdx:new("Your new house price must be a number between 1 and 99,999,999!", 255, 0, 0)
return false
end
-- The first check should have covered this, but we might as well leave it in here as I'm not sure if '-1' will constitute as a negative num
if (string.find(tostring(price), "-")) then
exports.UCDdx:new("Your new house price must be a number between 1 and 99,999,999!", 255, 0, 0)
return false
end
-- Let's add an anti spam here because people will try to flood the database as a troll (hahaha so fucking funny you stupid fucks)
UCDhousing.button[3]:setEnabled(false)
triggerServerEvent("UCDhousing.setHousePrice", localPlayer, houseID, price)
end
function purchaseHouse(houseID, plr)
-- The plr has already been established as the owner
if (plr ~= localPlayer) then return false end
-- A double check because the player can change their money while they have the GUI open
--if (plr.money < getHouseData(houseID, "currentPrice")) then
if (plr:getMoney() < UCDhousing.houseData[5]) then
exports.UCDdx:new("You don't have enough money to buy this house!", 255, 0, 0)
return false
end
UCDhousing.button[1]:setEnabled(false)
triggerServerEvent("UCDhousing.purchaseHouse", localPlayer, houseID)
end
function sellHouseToBank(houseID, plr)
if (plr ~= localPlayer) then return false end
--if (localPlayer:getData("accountName") ~= getHouseData(houseID, "owner")) then return false end
if (localPlayer:getData("accountName") ~= UCDhousing.houseData[2]) then return false end
UCDhousing.button[6]:setEnabled(false)
triggerServerEvent("UCDhousing.sellHouseToBank", localPlayer, houseID)
end
-- If we were to put this in an export
-- name = sourceResource:getName()
-- call[name]:func()
function createConfirmationWindow(houseID, text, func, arg1, arg2, arg3)
if (isElement(confirmation.window[1])) then return false end
confirmation = {window={}, label={}, button={}}
confirmation.window[1] = GuiWindow(819, 425, 282, 132, "UCD | Housing - Confirmation", false)
guiWindowSetSizable(confirmation.window[1], false)
confirmation.label[1] = GuiLabel(10, 26, 262, 44, tostring(text), false, confirmation.window[1])
guiLabelSetHorizontalAlign(confirmation.label[1], "center", false)
confirmation.button[1] = GuiButton(47, 85, 76, 36, "Yes", false, confirmation.window[1])
confirmation.button[2] = GuiButton(164, 85, 76, 36, "No", false, confirmation.window[1])
-- The purchase house bit underneath is not part of this general function.
function confirmationWindowClick()
if (source == confirmation.button[1]) then
if (isElement(confirmation.window[1])) then
removeEventHandler("onClientGUIClick", confirmation.window[1], confirmationWindowClick)
confirmation.window[1]:destroy()
end
-- Let's account for multiple functions and any additional arguments they may encounter
if (arg1 and not arg2) then
func(houseID, localPlayer, arg1)
elseif (arg1 and arg2 and not arg3) then
func(houseID, localPlayer, arg1, arg2)
elseif (arg1 and arg2 and arg3) then
func(houseID, localPlayer, arg1, arg2, arg3)
else
func(houseID, localPlayer)
end
return true
elseif (source == confirmation.button[2]) then
if (isElement(confirmation.window[1])) then
removeEventHandler("onClientGUIClick", confirmation.window[1], confirmationWindowClick)
confirmation.window[1]:destroy()
end
return false
end
end
addEventHandler("onClientGUIClick", confirmation.window[1], confirmationWindowClick)
end
addEventHandler("onClientResourceStop", resourceRoot, function () removeHouseNotification() end)
|
local tdots, tick, got_line1, undo_started, trailing_nl = 0, 0, false, false, false
function vim.paste(lines, phase)
local now = vim.loop.now()
local is_first_chunk = phase < 2
local is_last_chunk = phase == -1 or phase == 3
if is_first_chunk then -- Reset flags.
tdots, tick, got_line1, undo_started, trailing_nl = now, 0, false, false, false
end
if #lines == 0 then
lines = { '' }
end
if #lines == 1 and lines[1] == '' and not is_last_chunk then
-- An empty chunk can cause some edge cases in streamed pasting,
-- so don't do anything unless it is the last chunk.
return true
end
-- Note: mode doesn't always start with "c" in cmdline mode, so use getcmdtype() instead.
if vim.fn.getcmdtype() ~= '' then -- cmdline-mode: paste only 1 line.
if not got_line1 then
got_line1 = (#lines > 1)
-- Escape control characters
local line1 = lines[1]:gsub('(%c)', '\022%1')
-- nvim_input() is affected by mappings,
-- so use nvim_feedkeys() with "n" flag to ignore mappings.
vim.api.nvim_feedkeys(line1, 'n', true)
end
return true
end
local mode = vim.api.nvim_get_mode().mode
if undo_started then
vim.api.nvim_command('undojoin')
end
if mode:find('^i') or mode:find('^n?t') then -- Insert mode or Terminal buffer
vim.api.nvim_put(lines, 'c', false, true)
elseif phase < 2 and mode:find('^R') and not mode:find('^Rv') then -- Replace mode
-- TODO: implement Replace mode streamed pasting
-- TODO: support Virtual Replace mode
local nchars = 0
for _, line in ipairs(lines) do
nchars = nchars + line:len()
end
local row, col = unpack(vim.api.nvim_win_get_cursor(0))
local bufline = vim.api.nvim_buf_get_lines(0, row - 1, row, true)[1]
local firstline = lines[1]
firstline = bufline:sub(1, col) .. firstline
lines[1] = firstline
lines[#lines] = lines[#lines] .. bufline:sub(col + nchars + 1, bufline:len())
vim.api.nvim_buf_set_lines(0, row - 1, row, false, lines)
elseif mode:find('^[nvV\22sS\19]') then -- Normal or Visual or Select mode
if mode:find('^n') then -- Normal mode
-- When there was a trailing new line in the previous chunk,
-- the cursor is on the first character of the next line,
-- so paste before the cursor instead of after it.
vim.api.nvim_put(lines, 'c', not trailing_nl, false)
else -- Visual or Select mode
vim.api.nvim_command([[exe "silent normal! \<Del>"]])
local del_start = vim.fn.getpos("'[")
local cursor_pos = vim.fn.getpos('.')
if mode:find('^[VS]') then -- linewise
if cursor_pos[2] < del_start[2] then -- replacing lines at eof
-- create a new line
vim.api.nvim_put({ '' }, 'l', true, true)
end
vim.api.nvim_put(lines, 'c', false, false)
else
-- paste after cursor when replacing text at eol, otherwise paste before cursor
vim.api.nvim_put(lines, 'c', cursor_pos[3] < del_start[3], false)
end
end
-- put cursor at the end of the text instead of one character after it
vim.fn.setpos('.', vim.fn.getpos("']"))
trailing_nl = lines[#lines] == ''
else -- Don't know what to do in other modes
return false
end
undo_started = true
if phase ~= -1 and (now - tdots >= 100) then
local dots = ('.'):rep(tick % 4)
tdots = now
tick = tick + 1
-- Use :echo because Lua print('') is a no-op, and we want to clear the
-- message when there are zero dots.
vim.api.nvim_command(('echo "%s"'):format(dots))
end
if is_last_chunk then
vim.api.nvim_command('redraw' .. (tick > 1 and '|echo ""' or ''))
end
return true -- Paste will not continue if not returning `true`.
end
if vim.fn == nil then
vim.fn = setmetatable({}, {
__index = function(t, key)
local _fn
_fn = function(...)
return vim.api.nvim_call_function(key, { ... })
end
t[key] = _fn
return _fn
end,
})
end
|
--[[
cel is licensed under the terms of the MIT license
Copyright (C) 2011-2012 by Matthew W. Burk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--]]
local cel = require 'cel'
local metacel, mt = cel.newmetacel('picklist')
function mt.step(picklist, xsteps, ysteps, mode)
picklist[_subject]:endflow(picklist:getflow('scroll'))
local xdim = picklist[_xdim]
local ydim = picklist[_ydim]
local x, y = xdim.value, ydim.value
if mode == nil or mode == 'line' then
if xsteps and xsteps ~= 0 then x = x + (xsteps * picklist.stepsize) end
if ysteps and ysteps ~= 0 then y = y + (ysteps * picklist.stepsize) end
elseif mode == 'page' then
if xsteps and xsteps ~= 0 then x = x + (xsteps * xdim.size) end
if ysteps and ysteps ~= 0 then y = y + (ysteps * ydim.size) end
end
return picklist:picklist(x, y)
end
function metacel:__link(picklist, link, linker, xval, yval, option)
if 'raw' ~= option then
return picklist[_list], linker, xval, yval, option
end
end
do
local _new = metacel.new
function metacel:new(face)
face = self:getface(face)
local picklist = _new(self, 0, 0, face)
picklist[_list] = cel.col.new()
:link(picklist, 'scroll', true, false, 'raw')
return picklist
end
end
return metacel:newfactory()
|
local S = aurum.get_translator()
awards.register_award("aurum_awards:fertilizer", {
title = S"You Cannot Eat Money",
description = S"Place 15 fertilizer.",
requires = {"aurum_awards:eat"},
difficulty = 1,
icon = minetest.inventorycube("aurum_farming_fertilizer.png", "aurum_farming_fertilizer.png", "aurum_farming_fertilizer.png"),
trigger = {
type = "place",
node = "group:fertilizer",
target = 15,
},
})
|
---
---Lua 脚本启动ab
--- Created by Yoki.
--- DateTime: 2019/2/11 13:54
---
local string loc_sceneName=nil
local string loc_abName=nil
local string loc_assetName=nil
--导入xlua包
local util=require("xlua.util")
--实例化ab核心管理类
local abManager=CS.AssetBundleMgr
local abObj=abManager.Instance
--加载ab包
local function LoadAbPackage(sceneName,abName,assetName)
end
--回调方法
local function FinishWork()
end |
--- === mjolnir._asm.ipc ===
---
--- Home: https://github.com/asmagill/mjolnir_asm.ipc
---
--- Interface with Mjolnir from the command line.
---
--- To install the command line tool, you also need to install `mjolnir._asm.ipc.cli`.
---
--- This module is based primarily on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegutis/).
--- === mjolnir._asm.ipc.cli ===
---
--- Home: https://github.com/asmagill/mjolnir_asm.ipc
---
--- Interface with Mjolnir from the command line.
---
--- This package contains no Lua functions, but instead provides the `mjolnir` command line tool. By default, it is installed into /usr/local/bin.
---
--- To install, type: `[PREFIX=/usr/local/bin] luarocks [--tree=mjolnir] install mjolnir._asm.ipc.cli`
---
--- The man page is provided here:
---
--- ```
--- mjolnir(1) BSD General Commands Manual mjolnir(1)
---
--- NAME
--- mjolnir -- Command line interface to Mjolnir.app
---
--- SYNOPSIS
--- mjolnir [-i | -s | -c code] [-r] [-n]
---
--- DESCRIPTION
--- Runs code from within Mjolnir, and prints the results. The given code is
--- passed to "mjolnir.ipc.handler" which normally executes it as plain Lua
--- code, but may be overridden to do some custom evaluation.
---
--- When no args are given, -i is implied.
---
--- -i Runs in interactive-mode; uses each line as code . Prints in
--- color unless otherwise specified.
---
--- -c Uses the given argument as code
---
--- -s Uses stdin as code
---
--- -r Forces Mjolnir to interpret code as raw Lua code; the function
--- "mjolnir.ipc.handler" is not called.
---
--- -n When specified, interactive-mode does not use colors.
---
--- EXIT STATUS
--- The mjolnir utility exits 0 on success, and >0 if an error occurs.
---
--- MORE INFO
--- Visit https://github.com/sdegutis/mjolnir/
---
--- Darwin October 4, 2014 Darwin
--- ```
---
--- This module is based primarily on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegutis/).
---
if not mjolnir._asm then mjolnir._asm = {} end
mjolnir._asm.ipc = {}
local internal = require("mjolnir._asm.ipc.internal")
local internal_mt = {
__gc = function(...)
if internal.messagePort then
internal.invalidate_ipc(internal.messagePort)
end
end
}
setmetatable(internal, internal_mt)
-- private variables and methods -----------------------------------------
local fakestdout = ""
local function ipcprint(...)
local things = table.pack(...)
for i = 1, things.n do
if i > 1 then fakestdout = fakestdout .. "\t" end
fakestdout = fakestdout .. tostring(things[i])
end
fakestdout = fakestdout .. "\n"
end
local function rawhandler(str)
local fn, err = load("return " .. str)
if not fn then fn, err = load(str) end
if fn then return fn() else return err end
end
-- Public interface ------------------------------------------------------
--- mjolnir._asm.ipc.handler(str) -> value
--- Function
--- The default handler for IPC, called by mjolnir-cli. Default implementation evals the string and returns the result.
--- You may override this function if for some reason you want to implement special evaluation rules for executing remote commands.
--- The return value of this function is always turned into a string via tostring() and returned to mjolnir-cli.
--- If an error occurs, the error message is returned instead.
mjolnir._asm.ipc.handler = rawhandler
function mjolnir._asm.ipc._handler(raw, str)
local originalprint = print
fakestdout = ""
print = function(...) originalprint(...) ipcprint(...) end
local fn = mjolnir._asm.ipc.handler
if raw then fn = rawhandler end
local results = table.pack(pcall(function() return fn(str) end))
local str = fakestdout .. tostring(results[2])
for i = 3, results.n do
str = str .. "\t" .. tostring(results[i])
end
print = originalprint
return str
end
--- mjolnir._asm.ipc.get_cli_colors() -> table
--- Function
---Returns a table containing three keys, `initial`, `input`, and `output`, which contain the terminal escape codes to generate the colors used in the command line interface.
mjolnir._asm.ipc.get_cli_colors = function()
local settings = require("mjolnir._asm.settings")
local colors = {}
colors.initial = settings.get("_asm.ipc.cli.color_initial") or "\27[35m" ;
colors.input = settings.get("_asm.ipc.cli.color_input") or "\27[34m" ;
colors.output = settings.get("_asm.ipc.cli.color_output") or "\27[36m" ;
return colors
end
--- mjolnir._asm.ipc.set_cli_colors(table) -> table
--- Function
--- Takes as input a table containing one or more of the keys `initial`, `input`, or `output` to set the terminal escape codes to generate the colors used in the command line interface. Each can be set to the empty string if you prefer to use the terminal window default. Returns a table containing the changed color codes.
---
--- For a brief intro into terminal colors, you can visit a web site like this one (http://jafrog.com/2013/11/23/colors-in-terminal.html) (I have no affiliation with this site, it just seemed to be a clear one when I looked for an example... you can use Google to find many, many others). Note that Lua doesn't support octal escapes in it's strings, so use `\x1b` or `\27` to indicate the `escape` character.
---
--- e.g. ipc.set_cli_colors{ initial = "", input = "\27[33m", output = "\27[38;5;11m" }
mjolnir._asm.ipc.set_cli_colors = function(colors)
local settings = require("mjolnir._asm.settings")
if colors.initial then settings.set("_asm.ipc.cli.color_initial",colors.initial) end
if colors.input then settings.set("_asm.ipc.cli.color_input",colors.input) end
if colors.output then settings.set("_asm.ipc.cli.color_output",colors.output) end
return mjolnir._asm.ipc.get_cli_colors()
end
--- mjolnir._asm.ipc.reset_cli_colors()
--- Function
--- Erases any color changes you have made and resets the terminal to the original defaults.
mjolnir._asm.ipc.reset_cli_colors = function()
local settings = require("mjolnir._asm.settings")
settings.clear("_asm.ipc.cli.color_initial")
settings.clear("_asm.ipc.cli.color_input")
settings.clear("_asm.ipc.cli.color_output")
end
-- Return Module Object --------------------------------------------------
internal.messagePort = internal.setup_ipc()
return mjolnir._asm.ipc
|
--- AUTO GENERATED OUTPUT from Ghidra script "ari-structure-extractor.py" on 2021-11-28_17:09:33
return {
[1] = {
["name"] = "_ARIMSGDEF_GROUP01_bsp",
[10] = {
name = "AriACK",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "AriStatusTlv",
},
type_desc = "status_t1"
},
},
},
[11] = {
name = "AriBBLogInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 264,
name = "AriLog2APParam",
},
type_desc = "log_t1"
},
},
},
[15] = {
name = "AriNACK",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "AriStatusTlv",
},
type_desc = "status_t1"
},
},
},
[17] = {
name = "AriMsgAttribReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 16,
name = "AriMsgAttribParam",
},
type_desc = "msgAttrib_t1"
},
},
},
[18] = {
name = "AriGrpMsgsAttribReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2016,
name = "AriGrpMsgsAttribParam",
},
type_desc = "params_t1"
},
},
},
[19] = {
name = "AriGrpAttribReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 20,
name = "AriGroupAttribParam",
},
type_desc = "params_t1"
},
},
},
[33] = {
name = "AriMsgAttribResp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 16,
name = "AriMsgAttribParam",
},
type_desc = "msgAttrib_t1"
},
},
},
[34] = {
name = "AriGrpMsgsAttribResp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2016,
name = "AriGrpMsgsAttribParam",
},
type_desc = "params_t1"
},
},
},
[35] = {
name = "AriGrpAttribResp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 20,
name = "AriGroupAttribParam",
},
type_desc = "params_t1"
},
},
},
[257] = {
name = "CsiMsCpsReadImeiReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[258] = {
name = "CsiMsCpsGetCurrentBootStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[259] = {
name = "CsiSecGetFusingStateReq",
mtlvs = {},
tlvs = {
},
},
[260] = {
name = "CsiSecGetSNUMReq",
mtlvs = {},
tlvs = {
},
},
[261] = {
name = "CsiSysGetInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaSysInfoType",
},
type_desc = "infoRequest_t1"
},
},
},
[262] = {
name = "CsiSecGetRandomNumReq",
mtlvs = {},
tlvs = {
},
},
[263] = {
name = "UtaMsCpsSetSvnReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 1,
name = "UtaCpsSetSvnReqParam",
},
type_desc = "params_t1"
},
},
},
[265] = {
name = "CsiMsSimCardPresenceReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[266] = {
name = "CsiBspStateGetReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "item_t1"
},
},
},
[267] = {
name = "CsiBspStateSetReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "item_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "value_t2"
},
},
},
[268] = {
name = "CsiModeSetReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaMode",
},
type_desc = "mode_t1"
},
},
},
[269] = {
name = "CsiGetCurrentBootStateReq",
mtlvs = {},
tlvs = {
},
},
[270] = {
name = "CsiGetSystemTimeReq",
mtlvs = {},
tlvs = {
},
},
[271] = {
name = "CsiModeGetReq",
mtlvs = {},
tlvs = {
},
},
[272] = {
name = "CsiSysGetInfoReqV2",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaSysInfoType",
},
type_desc = "infoRequest_t1"
},
},
},
[273] = {
name = "CsiDelayedOutstandingReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "durationInMs_t1"
},
},
},
[274] = {
name = "CsiMsCpsReadMeidReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[275] = {
name = "IBIRfSetAntennaPortMappingReq",
mtlvs = {2, 3},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIRfRat",
},
type_desc = "rat_t2"
},
[3] = {
codec = {
length = 8,
name = "IBIRfPortMap",
},
type_desc = "map_t3"
},
},
},
[422] = {
name = "CsiBmmProvideBootTimeInfoReq",
mtlvs = {},
tlvs = {
},
},
[423] = {
name = "CsiBspDebugJtagModeReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiBspDebugJtagMode",
},
type_desc = "jtag_mode_t1"
},
},
},
[513] = {
name = "CsiMsCpsReadImeiRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 24,
name = "CsiMsCpsReadImeiRspParam",
},
type_desc = "params_t2"
},
[3] = {
codec = {
length = 17,
name = "IBICpsImei",
},
type_desc = "imei2_t3"
},
[4] = {
codec = {
length = 17,
name = "IBICpsMeid",
},
type_desc = "meid_t4"
},
},
},
[514] = {
name = "CsiMsCpsGetCurrentBootStateRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "CsiMsCpsBootStateRspParam",
},
type_desc = "params_t2"
},
},
},
[515] = {
name = "CsiSecGetFusingStateRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "fusing_state_t2"
},
},
},
[516] = {
name = "CsiSecGetSNUMRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 24,
name = "CsiSecSnumInfo",
},
type_desc = "snum_info_t1"
},
},
},
[517] = {
name = "CsiSysGetInfoRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 108,
name = "CsiVerInfoString",
},
type_desc = "info_str_t1"
},
},
},
[518] = {
name = "CsiSecGetRandomNumRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 36,
name = "CsiSecNonce",
},
type_desc = "nonce_t1"
},
},
},
[519] = {
name = "AriUtaMsCpsSetSvnRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaCpsSvnResult",
},
type_desc = "result_t1"
},
},
},
[521] = {
name = "CsiMsSimCardPresenceRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "CsiSimCardStatusInfo",
},
type_desc = "sim_status_t2"
},
},
},
[522] = {
name = "CsiBspStateGetRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "value_t2"
},
},
},
[523] = {
name = "CsiBspStateSetRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t1"
},
},
},
[524] = {
name = "CsiModeSetRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaMode",
},
type_desc = "current_mode_t1"
},
},
},
[525] = {
name = "CsiGetCurrentBootStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiBootStateRspParam",
},
type_desc = "param_t1"
},
},
},
[526] = {
name = "CsiGetSystemTimeResp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "UtaUInt64",
},
type_desc = "systemTime_t1"
},
},
},
[527] = {
name = "CsiModeGetRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 24,
name = "CsiModeGetRspParam",
},
type_desc = "rsp_param_t1"
},
},
},
[528] = {
name = "CsiSysGetInfoRspCbV2",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 520,
name = "CsiVerInfoStringV2",
},
type_desc = "info_str_t1"
},
},
},
[529] = {
name = "CsiDelayedOutstandingResp",
mtlvs = {},
tlvs = {
},
},
[530] = {
name = "CsiMsCpsReadMeidRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 24,
name = "CsiMsCpsReadMeidRspParam",
},
type_desc = "params_t2"
},
},
},
[531] = {
name = "IBIRfSetAntennaPortMappingResp",
mtlvs = {2},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIRfPortMapStatus",
},
type_desc = "status_t2"
},
},
},
[678] = {
name = "CsiBmmProvideBootTimeInfoRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 3612,
name = "CsiBmmBootTimeInfoReport",
},
type_desc = "csi_bmm_bti_report_t1"
},
[2] = {
codec = {
length = 24,
name = "CsiBmmBootTimeInfo",
},
type_desc = "data_array_bmm_ext_t2"
},
},
},
[679] = {
name = "CsiBspDebugJtagModeRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "return_value_t1"
},
},
},
[781] = {
name = "AriUtaModeInitialSwitchCompleteIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "UtaUInt64",
},
type_desc = "uptime_ms_t1"
},
},
},
[783] = {
name = "CsiModeSetIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "CsiModeSetIndParam",
},
type_desc = "ind_param_t1"
},
},
},
[784] = {
name = "CsiBSPBBDumpInd",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 1,
name = "UtaChar",
},
type_desc = "reason_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "userNotification_t2"
},
},
},
},
[2] = {
["name"] = "_ARIMSGDEF_GROUP02_call_cs",
[257] = {
name = "IBICallCsSetupVoiceCallReq",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsType",
},
type_desc = "call_type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "phone_no_t4"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsClirMode",
},
type_desc = "clir_mode_t6"
},
[13] = {
codec = {
length = 1,
name = "IBICallCsEccValue",
},
type_desc = "ecc_category_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ctm_t14"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_fdn_check_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_emergency_normal_t17"
},
},
},
[258] = {
name = "IBICallCsReleaseCallReq",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsGroup",
},
type_desc = "call_group_t3"
},
[4] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[259] = {
name = "IBICallCsAcceptCallReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
},
},
[260] = {
name = "IBICallCsSwapCallsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[261] = {
name = "IBICallCsHoldCallReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[262] = {
name = "IBICallCsRetrieveCallReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[263] = {
name = "IBICallCsSplitMptyReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
},
},
[264] = {
name = "IBICallCsJoinCallsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[265] = {
name = "IBICallCsStartDtmfReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "digit_t4"
},
},
},
[266] = {
name = "IBICallCsStopDtmfReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
},
},
[267] = {
name = "IBICallCsSetClirModeReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsClirMode",
},
type_desc = "clir_mode_t3"
},
},
},
[268] = {
name = "IBICallCsSetTtyDeviceModeReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsTtyDeviceMode",
},
type_desc = "tty_device_mode_t3"
},
},
},
[270] = {
name = "IBICallCsGetEccListReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[273] = {
name = "IBICallCsCrssReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsCrssGroup",
},
type_desc = "call_grp_t3"
},
},
},
[274] = {
name = "IBICallCsTransferCallsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[275] = {
name = "IBICallCsAutoAnswerReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsCmd",
},
type_desc = "cmd_req_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsFeat",
},
type_desc = "auto_ans_t4"
},
},
},
[276] = {
name = "IBICallCsGetTtyDeviceModeReq_V2",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[277] = {
name = "IBICallCsSetupVoiceCallReq_V1",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsType",
},
type_desc = "call_type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "phone_no_t4"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsClirMode",
},
type_desc = "clir_mode_t6"
},
[13] = {
codec = {
length = 1,
name = "IBICallCsEccValue",
},
type_desc = "ecc_category_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ctm_t14"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_fdn_check_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_emergency_normal_t17"
},
},
},
[278] = {
name = "IBICallCsBurstDtmfReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_digits_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "digit_buffer_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsBurstDtmfWidth",
},
type_desc = "on_duration_t6"
},
[7] = {
codec = {
length = 4,
name = "IBICallCsBurstDtmfInterval",
},
type_desc = "off_duration_t7"
},
},
},
[279] = {
name = "IBICallCsSetPrefPrivacyReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enable_enhanced_privacy_t3"
},
},
},
[280] = {
name = "IBICallCsCdmaVerifySpcCodeReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "spc_code_len_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "spc_code_t4"
},
},
},
[513] = {
name = "IBICallCsSetupCallRspCb",
mtlvs = {1, 4, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetDcServiceDomain",
},
type_desc = "domain_t6"
},
},
},
[514] = {
name = "IBICallCsReleaseCallRspCb",
mtlvs = {1, 3, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsGroup",
},
type_desc = "call_group_t3"
},
[4] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t6"
},
},
},
[515] = {
name = "IBICallCsAcceptCallRspCb",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[516] = {
name = "IBICallCsSwapCallsRspCb",
mtlvs = {1, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "active_call_id_t3"
},
[4] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "hold_call_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t6"
},
},
},
[517] = {
name = "IBICallCsHoldCallRspCb",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[518] = {
name = "IBICallCsRetrieveCallRspCb",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[519] = {
name = "IBICallCsSplitMptyRspCb",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[520] = {
name = "IBICallCsJoinCallsRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t4"
},
},
},
[521] = {
name = "IBICallCsStartDtmfRspCb",
mtlvs = {1, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "digit_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t6"
},
},
},
[522] = {
name = "IBICallCsStopDtmfExtRspCb",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[524] = {
name = "IBICallCsSetTtyDeviceModeRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[526] = {
name = "IBICallCsGetEccListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 241,
name = "IBICallCsEccListParam",
},
type_desc = "ecc_list_t4"
},
},
},
[529] = {
name = "IBICallCsCrssRspCb",
mtlvs = {1, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t6"
},
},
},
[530] = {
name = "IBICallCsTransferCallsRspCb",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[531] = {
name = "IBICallCsAutoAnswerRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "oper_result_t3"
},
[4] = {
codec = {
length = 8,
name = "IBICallCsAutoAnswerSetting",
},
type_desc = "auto_answer_rsp_t4"
},
},
},
[532] = {
name = "IBICallCsGetTtyDeviceModeRspCb_V2",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsTtyDeviceMode",
},
type_desc = "mode_t4"
},
},
},
[533] = {
name = "IBICallCsSetupCallRspCb_V1",
mtlvs = {1, 4, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetDcServiceDomain",
},
type_desc = "domain_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_cc_info_present_t7"
},
},
},
[534] = {
name = "IBICallCsBurstDtmfRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "error_code_t4"
},
[5] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t5"
},
},
},
[535] = {
name = "IBICallCsSetPrefPrivacyRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "error_code_t4"
},
},
},
[536] = {
name = "IBICallCsCdmaVerifySpcCodeRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsCdmaVerifySpcCodeResult",
},
type_desc = "spc_validation_result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "spc_fail_count_t4"
},
},
},
[772] = {
name = "IBICallCsConnectedIndCb",
mtlvs = {1, 2, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "connected_no_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsClirCause",
},
type_desc = "clir_cause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsType",
},
type_desc = "call_type_t5"
},
},
},
[774] = {
name = "IBICallCsDisconnectedIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "error_cause_t3"
},
},
},
[775] = {
name = "IBICallCsIncomingCallIndCb",
mtlvs = {1, 2, 3, 7, 8, 9, 15, 17, 18},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsType",
},
type_desc = "call_type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "phone_nr_t4"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "pi_si_t6"
},
[7] = {
codec = {
length = 4,
name = "IBICallCsLine",
},
type_desc = "line_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ctm_t8"
},
[9] = {
codec = {
length = 4,
name = "IBICallCsClirCause",
},
type_desc = "clir_cause_t9"
},
[15] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "dual_service_t15"
},
[16] = {
codec = {
length = 4,
name = "IBICallCsDualServiceMode",
},
type_desc = "service_mode_t16"
},
[17] = {
codec = {
length = 4,
name = "IBICallCsAlertingPattern",
},
type_desc = "alerting_pattern_t17"
},
[18] = {
codec = {
length = 4,
name = "IBINetDcServiceDomain",
},
type_desc = "domain_t18"
},
},
},
[781] = {
name = "IBICallCsCallingNameInfoIndCb",
mtlvs = {1, 2, 3, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "length_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "calling_name_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "dcs_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsClirCause",
},
type_desc = "cli_cause_t6"
},
},
},
[782] = {
name = "IBICallCsEmergencyNumberListIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_length_t2"
},
[3] = {
codec = {
length = 7,
name = "IBICallCsEmergencyNumber",
},
type_desc = "ecc_list_t3"
},
[4] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "ecc_plmn_info_t4"
},
},
},
[783] = {
name = "IBICallCsCallStatusIndCb",
mtlvs = {1, 2, 3, 4, 8, 9, 12, 16},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsStatus",
},
type_desc = "call_status_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsType",
},
type_desc = "call_type_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "phone_no_t5"
},
[8] = {
codec = {
length = 4,
name = "IBICallCsLine",
},
type_desc = "line_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ctm_t9"
},
[10] = {
codec = {
length = 1,
name = "IBICallCsEccValue",
},
type_desc = "ecc_category_t10"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "transaction_id_t12"
},
[14] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "pi_si_t14"
},
[16] = {
codec = {
length = 4,
name = "IBICallCsChannelMode",
},
type_desc = "channel_mode_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t17"
},
[18] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "callerName_t18"
},
[19] = {
codec = {
length = 4,
name = "IBICallCsWaitingIndicator",
},
type_desc = "call_waiting_t19"
},
[20] = {
codec = {
length = 12,
name = "IBICallCsSignalInfo",
},
type_desc = "cdma_signal_info_t20"
},
[21] = {
codec = {
length = 2,
name = "IBICallCsAudioControl",
},
type_desc = "audio_control_t21"
},
[22] = {
codec = {
length = 4,
name = "IBICallCsLineControl",
},
type_desc = "line_control_t22"
},
},
},
[785] = {
name = "IBICallCsEmergencyCallIntermediateStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallCsEmergencyCallIntermediateStatus",
},
type_desc = "call_status_t2"
},
},
},
[786] = {
name = "IBICallCsStartDtmfIndCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "digit_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t5"
},
},
},
[787] = {
name = "IBICallCsStopDtmfIndCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsErrorCause",
},
type_desc = "call_error_cause_t4"
},
},
},
[789] = {
name = "IBICallCsBurstDtmfIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsBurstDtmfEvent",
},
type_desc = "event_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_digits_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "digit_buffer_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallCsBurstDtmfWidth",
},
type_desc = "on_duration_t6"
},
[7] = {
codec = {
length = 4,
name = "IBICallCsBurstDtmfInterval",
},
type_desc = "off_duration_t7"
},
},
},
[790] = {
name = "IBICallCsSetPrefPrivacyIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enhanced_privacy_enabled_t2"
},
},
},
[791] = {
name = "IBICallCsOtaspStatusIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIOtaspStatus",
},
type_desc = "status_t3"
},
},
},
},
[3] = {
["name"] = "_ARIMSGDEF_GROUP03_call_ps",
[257] = {
name = "IBICallPsLTEAttachApnConfigReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "apn_validity_bitmask_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t4"
},
[5] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "ip_addr_t5"
},
[8] = {
codec = {
length = 4,
name = "IBICallPsPDPReqType",
},
type_desc = "pdp_req_type_t8"
},
[10] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv6_t10"
},
[11] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bImCN_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv6_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bBearerControlInd_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_haar_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_hnpr_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6v4_haar_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPAddrAllocNasSignaling_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4AddressAllocDHCPv4_t18"
},
[19] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv4_t19"
},
[20] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv4_t20"
},
[21] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bMSISDN_t21"
},
[22] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIFOMSupport_t22"
},
[23] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4Mtu_t23"
},
[24] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bLocalAddrTftInd_t24"
},
[29] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t29"
},
[30] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "ip_addr_t30"
},
[33] = {
codec = {
length = 4,
name = "IBICallPsPDPReqType",
},
type_desc = "pdp_req_type_t33"
},
[35] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv6_t35"
},
[36] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bImCN_t36"
},
[37] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv6_t37"
},
[38] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bBearerControlInd_t38"
},
[39] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_haar_t39"
},
[40] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_hnpr_t40"
},
[41] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6v4_haar_t41"
},
[42] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPAddrAllocNasSignaling_t42"
},
[43] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4AddressAllocDHCPv4_t43"
},
[44] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv4_t44"
},
[45] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv4_t45"
},
[46] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bMSISDN_t46"
},
[47] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIFOMSupport_t47"
},
[48] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4Mtu_t48"
},
[49] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bLocalAddrTftInd_t49"
},
[54] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t54"
},
[55] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "ip_addr_t55"
},
[58] = {
codec = {
length = 4,
name = "IBICallPsPDPReqType",
},
type_desc = "pdp_req_type_t58"
},
[60] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv6_t60"
},
[61] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bImCN_t61"
},
[62] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv6_t62"
},
[63] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bBearerControlInd_t63"
},
[64] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_haar_t64"
},
[65] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_hnpr_t65"
},
[66] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6v4_haar_t66"
},
[67] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPAddrAllocNasSignaling_t67"
},
[68] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4AddressAllocDHCPv4_t68"
},
[69] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv4_t69"
},
[70] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv4_t70"
},
[71] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bMSISDN_t71"
},
[72] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIFOMSupport_t72"
},
[73] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4Mtu_t73"
},
[74] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bLocalAddrTftInd_t74"
},
[79] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t79"
},
[80] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "ip_addr_t80"
},
[83] = {
codec = {
length = 4,
name = "IBICallPsPDPReqType",
},
type_desc = "pdp_req_type_t83"
},
[85] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv6_t85"
},
[86] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bImCN_t86"
},
[87] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv6_t87"
},
[88] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bBearerControlInd_t88"
},
[89] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_haar_t89"
},
[90] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_hnpr_t90"
},
[91] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6v4_haar_t91"
},
[92] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPAddrAllocNasSignaling_t92"
},
[93] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4AddressAllocDHCPv4_t93"
},
[94] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv4_t94"
},
[95] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv4_t95"
},
[96] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bMSISDN_t96"
},
[97] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIFOMSupport_t97"
},
[98] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4Mtu_t98"
},
[99] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bLocalAddrTftInd_t99"
},
[112] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "username_t112"
},
[113] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "password_t113"
},
[114] = {
codec = {
length = 4,
name = "IBICallPsAuthenticationType",
},
type_desc = "type_t114"
},
[116] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "username_t116"
},
[117] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "password_t117"
},
[118] = {
codec = {
length = 4,
name = "IBICallPsAuthenticationType",
},
type_desc = "type_t118"
},
[120] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "username_t120"
},
[121] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "password_t121"
},
[122] = {
codec = {
length = 4,
name = "IBICallPsAuthenticationType",
},
type_desc = "type_t122"
},
[124] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "username_t124"
},
[125] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "password_t125"
},
[126] = {
codec = {
length = 4,
name = "IBICallPsAuthenticationType",
},
type_desc = "type_t126"
},
[129] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t129"
},
[130] = {
codec = {
length = 4,
name = "IBICdmaPsRatType",
},
type_desc = "cdma_ps_rat_t130"
},
},
},
[258] = {
name = "IBICallPsStartDataCallReq",
mtlvs = {1, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallPsIpType",
},
type_desc = "ip_type_t5"
},
[8] = {
codec = {
length = 4,
name = "IBICallPsPDPReqType",
},
type_desc = "pdp_req_type_t8"
},
[10] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv6_t10"
},
[11] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bImCN_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv6_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bBearerControlInd_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_haar_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6_hnpr_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDSMIPv6v4_haar_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPAddrAllocNasSignaling_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4AddressAllocDHCPv4_t18"
},
[19] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bPcscfIPv4_t19"
},
[20] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bDnsIPv4_t20"
},
[21] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bMSISDN_t21"
},
[22] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIFOMSupport_t22"
},
[23] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIPv4Mtu_t23"
},
[24] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bLocalAddrTftInd_t24"
},
[29] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "username_t29"
},
[30] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "password_t30"
},
[31] = {
codec = {
length = 4,
name = "IBICallPsAuthenticationType",
},
type_desc = "type_t31"
},
[34] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "qos_3g_present_t34"
},
[35] = {
codec = {
length = 72,
name = "IBICallPsQos3g",
},
type_desc = "qos_3g_t35"
},
[36] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_tethered_t36"
},
[37] = {
codec = {
length = 4,
name = "IBICallPs3gpp2DataCallType",
},
type_desc = "data_call_type_3gpp2_t37"
},
},
},
[259] = {
name = "IBICallPsStopDataCallReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bLocalAbort_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallPsStopDataCallReason",
},
type_desc = "stop_data_call_reason_t6"
},
},
},
[260] = {
name = "IBICallPsRegisterFT",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "src_ip_t4"
},
[5] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "dst_ip_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "udp_src_port_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "udp_dst_port_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cookie_t8"
},
},
},
[261] = {
name = "IBICallPsDeRegisterFT",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[262] = {
name = "IBICallPsDropIPPackets",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_rtp_payload_type_t3"
},
[4] = {
codec = {
length = 16,
name = "IBICallPsDropIPPacketsParams",
},
type_desc = "drop_packet_params_t4"
},
},
},
[263] = {
name = "IBICallPsPdnStats",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tx_count_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rx_count_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "status_t6"
},
},
},
[264] = {
name = "IBICallPsDataPathSetupReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "data_path_idx_t4"
},
},
},
[265] = {
name = "IBISetFilterReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIPsFilterCmd",
},
type_desc = "filter_cmd_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_tcp_udp_filters_t5"
},
[6] = {
codec = {
length = 412,
name = "IBIPsTCPUDPFilterType",
},
type_desc = "tcp_udp_filter_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_mbim_filters_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIPsIPMaskFilterType",
},
type_desc = "mbim_filter_t8"
},
},
},
[266] = {
name = "IBICallPsAllowMultiplePDNToSameApnReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enable_t3"
},
},
},
[267] = {
name = "IBICallPsFlushDataReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
},
},
[268] = {
name = "IBICallPsTrafficClassInfo",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 16,
name = "IBICallPsTCinfo",
},
type_desc = "TrafficClassinfo_t3"
},
[4] = {
codec = {
length = 28,
name = "IBICallPsTCinfoDSinfo",
},
type_desc = "TrafficClassinfoWithDataStallinfo_t4"
},
},
},
[269] = {
name = "IBICallPsLqmRegisterReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "report_link_state_ind_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "report_link_fp_ind_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "report_tc_ap_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "report_transfer_time_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "report_power_cost_t7"
},
},
},
[270] = {
name = "IBICallPsLqmQueryReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "dl_thrpt_est_t3"
},
},
},
[271] = {
name = "IBICallPsSetKeepaliveOffloadReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enable_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "num_of_frames_t5"
},
[6] = {
codec = {
length = 132,
name = "IBICallPsKeepAliveFrameInfo",
},
type_desc = "frame_array_t6"
},
},
},
[272] = {
name = "IBICallPsDataTransferTimeReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 12,
name = "IBICallPsDTTReqInfo",
},
type_desc = "DataTransferTimeReqInfo_t3"
},
},
},
[273] = {
name = "IBICallPsImsTestModeReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIImsTestReqType",
},
type_desc = "Type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "OemImsEnabled_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "At_Response_t5"
},
},
},
[274] = {
name = "IBICallPsVoipAppInfoReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "msg_version_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "voip_call_application_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "voip_call_state_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "voip_call_type_t6"
},
},
},
[275] = {
name = "IBICallPsRtpReq",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtp_members_set_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "primary_pdp_cid_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "local_ip_length_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "local_ip_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "local_rtp_port_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_length_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_t9"
},
[10] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "remote_rtp_port_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "call_state_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "call_id_t12"
},
},
},
[276] = {
name = "IBICallPsUpdateNaiReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "username_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "password_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "encryption_required_t5"
},
},
},
[304] = {
name = "IBICallPsIPV6AddrFormationSuccessReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
},
},
[305] = {
name = "IBICallPsTransmitStateReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsTransmitStateInfoType",
},
type_desc = "transmit_state_enable_t3"
},
},
},
[307] = {
name = "IBICallPsWiFiAssociationStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ssid_len_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "wifi_ssid_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "bsid_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "wifi_bssid_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "wifi_calling_supported_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "wifi_call_active_t8"
},
},
},
[308] = {
name = "IBICallPsVoLTECodecReq",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "call_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallPsVoLTECodecType",
},
type_desc = "codec_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "amr_mode_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallPsEvsAudioBWType",
},
type_desc = "evs_bw_t6"
},
[7] = {
codec = {
length = 4,
name = "IBICallPsEvsBitRateType",
},
type_desc = "evs_br_t7"
},
},
},
[309] = {
name = "IBICallPsSignificantLocationReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "latitude_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "longitude_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "arrival_time_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "departure_time_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "horizontal_accuracy_t7"
},
},
},
[310] = {
name = "IBICallPsBreadButterModeReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsBreadModeState",
},
type_desc = "breadModeState_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallPsButterModeState",
},
type_desc = "butterModeState_t4"
},
},
},
[311] = {
name = "IBICallPsDataStallInfoReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "version_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "data_stall_detected_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Playback_stall_detected_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "dns_failure_detected_t6"
},
},
},
[312] = {
name = "IBICallPsDataStallRegReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "report_data_stall_t3"
},
},
},
[313] = {
name = "IBICallPsSecurityStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[314] = {
name = "IBICallPsCriticalPsSessionReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsCriticalPsSessionStatus",
},
type_desc = "session_status_t3"
},
},
},
[315] = {
name = "IBIQoERequestReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "app_index_t3"
},
[4] = {
codec = {
length = 8,
name = "IBIUInt64",
},
type_desc = "system_time_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "Latency_Target_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "Jitter_Target_t6"
},
[7] = {
codec = {
length = 8,
name = "IBIUInt64",
},
type_desc = "App_HMAC_t7"
},
},
},
[316] = {
name = "IBIQoELatencyReportReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "app_index_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "Latency_Value_t4"
},
},
},
[317] = {
name = "IBIQoEQueryReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "app_index_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "QueryMode_t4"
},
},
},
[513] = {
name = "IBICallPsAttachApnConfigRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
},
},
[514] = {
name = "IBICallPsStartDataCallRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 8,
name = "IBICallPsResult",
},
type_desc = "cause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICallPsSmCauseAccept",
},
type_desc = "sm_cause2_t6"
},
},
},
[515] = {
name = "IBICallPsStopDataCallRspCb",
mtlvs = {1, 3, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 8,
name = "IBICallPsResult",
},
type_desc = "cause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t5"
},
},
},
[520] = {
name = "IBICallPsDataPathSetupRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
},
},
[521] = {
name = "IBISetFilterRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIPsFilterRespCodeType",
},
type_desc = "failure_cause_t4"
},
},
},
[522] = {
name = "IBICallPsAllowMultiplePDNToSameApnRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_enabled_t4"
},
},
},
[523] = {
name = "IBICallPsFlushDataRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t4"
},
},
},
[524] = {
name = "IBICallPsTrafficClassInfoRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[525] = {
name = "IBICallPsLqmRegisterRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[526] = {
name = "IBICallPsLqmQueryRsbCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 12,
name = "IBICallPsLqmQueryRspinfo",
},
type_desc = "LqmQueryRspinfo_t3"
},
},
},
[527] = {
name = "IBICallPsSetKeepaliveOffloadRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enable_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "num_of_frames_t5"
},
},
},
[528] = {
name = "IBICallPsDataTransferTimeRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 20,
name = "IBICallPsDTTRspCbInfo",
},
type_desc = "DataTransferTimeRspCbInfo_t3"
},
},
},
[529] = {
name = "IBICallPsImsTestModeRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[530] = {
name = "IBICallPsVoipAppInfoRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[531] = {
name = "IBICallPsRtpRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[532] = {
name = "IBICallPsUpdateNaiRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t4"
},
},
},
[560] = {
name = "IBICallPsIPV6AddrFormationSuccessRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t4"
},
},
},
[561] = {
name = "IBICallPsTransmitStateRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[563] = {
name = "IBICallPsWiFiAssociationStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
},
},
[564] = {
name = "IBICallPsVoLTECodecRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[565] = {
name = "IBICallPsSignificantLocationRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[566] = {
name = "IBICallPsBreadButterModeRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[567] = {
name = "IBICallPsDataStallInfoRsbCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[568] = {
name = "IBICallPsDataStallRegRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[569] = {
name = "IBICallPsSecurityStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "valid_mask_t4"
},
[5] = {
codec = {
length = 8,
name = "IBICallPsEncryptionStatus",
},
type_desc = "encryptionStatusInfo_t5"
},
[6] = {
codec = {
length = 8,
name = "IBICallPsTempIDUpdateStatus",
},
type_desc = "tempIDUpdateStatusInfo_t6"
},
[7] = {
codec = {
length = 8,
name = "IBICallPsUeCapSecurityInfo",
},
type_desc = "ueCapSecurityInfo_t7"
},
[8] = {
codec = {
length = 8,
name = "IBICallPsPagingWithPermIdInfo",
},
type_desc = "pagingWithPermId_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "is_conn_encrypted_t9"
},
},
},
[570] = {
name = "IBICallPsCriticalPsSessionRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[571] = {
name = "IBIQoERequestRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIQoEResult",
},
type_desc = "returnCode_t3"
},
},
},
[572] = {
name = "IBIQoELatencyReportReqRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIQoEResult",
},
type_desc = "returnCode_t3"
},
},
},
[573] = {
name = "IBIQoEQueryRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIQoEResult",
},
type_desc = "returnCode_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Quality_index_t4"
},
},
},
[769] = {
name = "IBICallPsActivateStatusIndCb",
mtlvs = {1, 2, 4, 8, 10, 13, 15, 18, 21},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "linked_cid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallPsActivationStatus",
},
type_desc = "activation_status_t4"
},
[5] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "ip_address_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t6"
},
[7] = {
codec = {
length = 20,
name = "IBICallPsQos2g",
},
type_desc = "qos_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "qos_3g_present_t8"
},
[9] = {
codec = {
length = 72,
name = "IBICallPsQos3g",
},
type_desc = "qos3g_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "eps_qos_present_t10"
},
[11] = {
codec = {
length = 20,
name = "IBICallPsEpsQos",
},
type_desc = "eps_qos_t11"
},
[12] = {
codec = {
length = 4,
name = "IBICallPsLlcSapi",
},
type_desc = "llc_sapi_t12"
},
[13] = {
codec = {
length = 4,
name = "IBICallPsRadioPriority",
},
type_desc = "radio_priority_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "t3380_expirieries_t14"
},
[15] = {
codec = {
length = 4,
name = "IBICallPsOrigin",
},
type_desc = "origin_t15"
},
[16] = {
codec = {
length = 8,
name = "IBICallPsResult",
},
type_desc = "cause_t16"
},
[17] = {
codec = {
length = 4,
name = "IBICallPsSmCauseAccept",
},
type_desc = "smCause2_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_tft_present_t18"
},
[19] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_pf_t19"
},
[20] = {
codec = {
length = 164,
name = "IBICallPsPacketFilter",
},
type_desc = "pf_t20"
},
[21] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_pco_present_t21"
},
[22] = {
codec = {
length = 1152,
name = "IBICallPsNwPcoParams",
},
type_desc = "pco_params_t22"
},
},
},
[770] = {
name = "IBICallPsDataCallStoppedIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t2"
},
[3] = {
codec = {
length = 8,
name = "IBICallPsResult",
},
type_desc = "cause_t3"
},
},
},
[771] = {
name = "IBICallPsModifyIndCb",
mtlvs = {1, 2, 4, 6, 8, 11, 13},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t2"
},
[3] = {
codec = {
length = 20,
name = "IBICallPsQos2g",
},
type_desc = "qos2g_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "qos_3g_present_t4"
},
[5] = {
codec = {
length = 72,
name = "IBICallPsQos3g",
},
type_desc = "qos3g_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "eps_qos_present_t6"
},
[7] = {
codec = {
length = 20,
name = "IBICallPsEpsQos",
},
type_desc = "eps_qos_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_tft_present_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_pf_t9"
},
[10] = {
codec = {
length = 164,
name = "IBICallPsPacketFilter",
},
type_desc = "pf_t10"
},
[11] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_ambr_present_t11"
},
[12] = {
codec = {
length = 6,
name = "IBICallPsEpsApnAmbr",
},
type_desc = "apn_ambr_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_pco_present_t13"
},
[14] = {
codec = {
length = 1152,
name = "IBICallPsNwPcoParams",
},
type_desc = "pco_params_t14"
},
},
},
[772] = {
name = "IBICallPsSuspendIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsSuspendCause",
},
type_desc = "cause_t2"
},
},
},
[773] = {
name = "IBICallPsResumeIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[774] = {
name = "IBICallPsVoiceLQMLinkStateInd",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "version_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "voice_lqm_state_t3"
},
},
},
[778] = {
name = "IBICallPsLqmDataIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsLqmType",
},
type_desc = "cmd_type_t2"
},
[3] = {
codec = {
length = 5,
name = "IBICallPsLqmLinkState",
},
type_desc = "lqm_link_state_t3"
},
[4] = {
codec = {
length = 184,
name = "IBICallPsLqmFp",
},
type_desc = "lqm_fp_t4"
},
[5] = {
codec = {
length = 12,
name = "IBICallPsLqmDlThrpt",
},
type_desc = "lqm_dl_thrpt_t5"
},
[6] = {
codec = {
length = 8,
name = "IBICallPsLqmTcApEnable",
},
type_desc = "lqm_tc_ap_enable_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "transfer_time_enable_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "lqm_transfer_time_enable_t8"
},
[9] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cmd_type_bitmask_t9"
},
[10] = {
codec = {
length = 3,
name = "IBICallPsPowerCost",
},
type_desc = "power_cost_t10"
},
[11] = {
codec = {
length = 224,
name = "IBICallPsLqmFpV2",
},
type_desc = "lqm_fp_v2_t11"
},
},
},
[779] = {
name = "IBICallPsVoiceLQMStateInd",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "version_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "voice_lqm_state_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "vLqm_blob_info_len_t4"
},
[5] = {
codec = {
length = 20,
name = "IBICallPsLqmBlob",
},
type_desc = "vLqm_blob_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "voice_lqm_blob_t6"
},
},
},
[780] = {
name = "IBICallPsFDBackOffTimeInd",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "backoff_time_t2"
},
},
},
[781] = {
name = "IBICallPsNotificationIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cause_t2"
},
},
},
[782] = {
name = "IBICallPsImsTestModeIndCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "msg_len_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "msg_t4"
},
},
},
[783] = {
name = "IBICallPsLteAttachIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsPdpContextId",
},
type_desc = "cid_t2"
},
[3] = {
codec = {
length = 24,
name = "IBICallPsIpAddr",
},
type_desc = "ip_address_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "apn_t4"
},
},
},
[784] = {
name = "IBICallPsTransmitStateIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsConnectionStateType",
},
type_desc = "connection_state_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICallPsConnectionTriggerType",
},
type_desc = "connection_trigger_t3"
},
},
},
[785] = {
name = "IBICallPsDataStallRegIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBICallPsDataStallEnable",
},
type_desc = "data_stall_enable_t2"
},
},
},
[786] = {
name = "IBICallPsSecurityStatusInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "valid_mask_t2"
},
[3] = {
codec = {
length = 8,
name = "IBICallPsEncryptionStatus",
},
type_desc = "encryptionStatusInfo_t3"
},
[4] = {
codec = {
length = 8,
name = "IBICallPsTempIDUpdateStatus",
},
type_desc = "tempIDUpdateStatusInfo_t4"
},
[5] = {
codec = {
length = 8,
name = "IBICallPsUeCapSecurityInfo",
},
type_desc = "ueCapSecurityInfo_t5"
},
[6] = {
codec = {
length = 8,
name = "IBICallPsPagingWithPermIdInfo",
},
type_desc = "pagingWithPermId_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "is_conn_encrypted_t7"
},
},
},
[787] = {
name = "IBICallPsCriticalPsSessionIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallPsCriticalPsSessionCause",
},
type_desc = "cause_t2"
},
},
},
[788] = {
name = "IBIQoEQueryInd",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Quality_index_t2"
},
},
},
},
[4] = {
["name"] = "_ARIMSGDEF_GROUP04_sms",
[260] = {
name = "IBISmsIncomingSmsAck",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tipd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISmsStorageResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 177,
name = "IBITpduData",
},
type_desc = "tpdu_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t6"
},
},
},
[261] = {
name = "IBISmsDataDownloadReq",
mtlvs = {1, 4, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tipd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISmsPpProtocol",
},
type_desc = "pp_protocol_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "dcs_t5"
},
[6] = {
codec = {
length = 177,
name = "IBITpduData",
},
type_desc = "tpdu_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t7"
},
},
},
[262] = {
name = "IBISmsSendReq_V2",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 184,
name = "IBISmsData",
},
type_desc = "sms_data_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetGsmService",
},
type_desc = "service_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sms_check_bitmask_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tp_mr_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t7"
},
[8] = {
codec = {
length = 4,
name = "IBINetCdmaChannel",
},
type_desc = "channel_type_t8"
},
[9] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "message_id_t9"
},
[10] = {
codec = {
length = 260,
name = "IBICdmaTpduData",
},
type_desc = "cdma_tpdu_t10"
},
},
},
[263] = {
name = "IBISmsConfirmSmsDataDownloadAck",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tipd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t4"
},
},
},
[264] = {
name = "IBISmsSetSendMoreMessagesStatus",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISmsSendMoreMessagesStatus",
},
type_desc = "status_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t3"
},
},
},
[265] = {
name = "IBISimSetSmscAddressReq",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "record_no_t3"
},
[4] = {
codec = {
length = 23,
name = "IBISimSmscAddress",
},
type_desc = "smsc_add_t4"
},
},
},
[266] = {
name = "IBISimGetSmscAddressReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "record_no_t3"
},
},
},
[267] = {
name = "IBISmsGetServiceStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t3"
},
},
},
[268] = {
name = "IBISmsGetMsgWaitIndReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[269] = {
name = "IBISmsSetMsgWaitIndReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 12,
name = "IBISmsMsgWaitingArray",
},
type_desc = "msg_wait_info_t3"
},
},
},
[270] = {
name = "IBISimGetMsgListReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimMsgTagType",
},
type_desc = "msg_tag_t3"
},
},
},
[271] = {
name = "IBISimGetEfSmsReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "rec_num_t3"
},
},
},
[272] = {
name = "IBIMsSimSetSmsTagReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "rec_num_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimMsgTagType",
},
type_desc = "msg_tag_t4"
},
},
},
[516] = {
name = "IBISmsDeliverySessionStatusCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tipd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "net_response_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISmsCpResult",
},
type_desc = "cp_result_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t6"
},
},
},
[517] = {
name = "IBISmsDataDownloadRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tipd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimUpdateStatus",
},
type_desc = "status_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISmsSendResult",
},
type_desc = "result_t5"
},
[6] = {
codec = {
length = 129,
name = "IBISmsDownloadData",
},
type_desc = "data_t6"
},
},
},
[518] = {
name = "IBISmsSendRspCb_V2",
mtlvs = {1, 3, 14},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISmsSendResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBISmsMessageReference",
},
type_desc = "tp_mr_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISmsTpFcs",
},
type_desc = "tp_fcs_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "tp_presence_t6"
},
[14] = {
codec = {
length = 4,
name = "IBINetDcServiceDomain",
},
type_desc = "domain_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t15"
},
[16] = {
codec = {
length = 4,
name = "IBICdmaSmsErrorClass",
},
type_desc = "error_class_t16"
},
[17] = {
codec = {
length = 4,
name = "IBICdmaSmsErrorCause",
},
type_desc = "error_cause_t17"
},
[18] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "message_id_t18"
},
},
},
[521] = {
name = "IBISimSetSmscAddressRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
},
},
[522] = {
name = "IBISimGetSmscAddressRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
[5] = {
codec = {
length = 23,
name = "IBISimSmscAddress",
},
type_desc = "smsc_add_t5"
},
},
},
[523] = {
name = "IBISmsGetServiceStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "sms_service_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISmsServiceErrorCause",
},
type_desc = "error_cause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t5"
},
},
},
[524] = {
name = "IBISmsGetMsgWaitIndRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
[5] = {
codec = {
length = 12,
name = "IBISmsMsgWaitingArray",
},
type_desc = "msg_wait_info_t5"
},
},
},
[525] = {
name = "IBISmsSetMsgWaitIndRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
},
},
[526] = {
name = "IBISimGetMsgListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimUpdateStatus",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2044,
name = "IBISimMsgListCbParams",
},
type_desc = "params_t4"
},
},
},
[527] = {
name = "IBISimGetEfSmsRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "rec_num_t5"
},
[6] = {
codec = {
length = 4,
name = "IBISimMsgTagType",
},
type_desc = "tag_type_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "data_read_length_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "data_read_t8"
},
},
},
[528] = {
name = "IBISimSetSmsTagRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
},
},
[769] = {
name = "IBISmsIncomingIndCb",
mtlvs = {1, 2, 3, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tipd_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "stored_on_sim_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "pos_t4"
},
[5] = {
codec = {
length = 184,
name = "IBISmsData",
},
type_desc = "sms_data_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetDcServiceDomain",
},
type_desc = "domain_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "network_source_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t8"
},
[9] = {
codec = {
length = 260,
name = "IBICdmaTpduData",
},
type_desc = "cdma_tpdu_t9"
},
},
},
[770] = {
name = "IBISimSmscAddressIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "smsc_add_present_t2"
},
[3] = {
codec = {
length = 23,
name = "IBISimSmscAddress",
},
type_desc = "smsc_add_t3"
},
},
},
[771] = {
name = "IBISmsServiceIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "sms_service_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISmsServiceErrorCause",
},
type_desc = "error_cause_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t4"
},
},
},
[772] = {
name = "IBISimMsgWaitIndicatorIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBISmsMsgWaitingArray",
},
type_desc = "msg_wait_info_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t3"
},
},
},
[773] = {
name = "IBISimMsgListIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "no_of_sms_entries_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "no_of_req_sms_entries_t3"
},
[4] = {
codec = {
length = 8,
name = "IBISimMsgListData",
},
type_desc = "msg_list_t4"
},
},
},
},
[5] = {
["name"] = "_ARIMSGDEF_GROUP05_cbs",
[257] = {
name = "IBICbsConfigReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 402,
name = "IBICbsMidRangeList",
},
type_desc = "mid_range_list_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ignore_duplicates_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICdmaLanguage",
},
type_desc = "language_list_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "language_cnt_t7"
},
[8] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "category_fields_cnt_t8"
},
[9] = {
codec = {
length = 8,
name = "IBICbsCdmaServiceCategoryFields",
},
type_desc = "category_fields_t9"
},
},
},
[258] = {
name = "IBICbsGetConfigReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t3"
},
},
},
[513] = {
name = "IBICbsConfigRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICbsCause",
},
type_desc = "cause_t4"
},
},
},
[514] = {
name = "IBICbsGetConfigRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 402,
name = "IBICbsMidRangeList",
},
type_desc = "mid_range_list_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ignore_duplicates_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIMessageMode",
},
type_desc = "message_mode_t6"
},
[7] = {
codec = {
length = 4,
name = "IBICdmaLanguage",
},
type_desc = "language_list_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "language_cnt_t8"
},
[9] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "category_fields_cnt_t9"
},
[10] = {
codec = {
length = 8,
name = "IBICbsCdmaServiceCategoryFields",
},
type_desc = "category_fields_t10"
},
},
},
[772] = {
name = "IBICbsMsgIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 10},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "coding_scheme_t2"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "serial_number_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "mid_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "number_of_pages_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "cb_length_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cb_data_t7"
},
[8] = {
codec = {
length = 4,
name = "IBICbsType",
},
type_desc = "cbs_type_t8"
},
[9] = {
codec = {
length = 4,
name = "IBICbsEtwsWarningType",
},
type_desc = "warning_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "rat_t10"
},
[11] = {
codec = {
length = 2,
name = "IBIInt16",
},
type_desc = "warning_area_coord_length_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "warning_area_coord_t12"
},
},
},
},
[6] = {
["name"] = "_ARIMSGDEF_GROUP06_ss",
[257] = {
name = "IBISsCallForwardReq",
mtlvs = {1, 3, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISsBasicServiceGroup",
},
type_desc = "basic_service_groups_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "noreply_timeout_t6"
},
[7] = {
codec = {
length = 4,
name = "IBISsAddressType",
},
type_desc = "forward_to_type_t7"
},
[8] = {
codec = {
length = 83,
name = "IBISsAddressData",
},
type_desc = "forward_to_address_t8"
},
},
},
[258] = {
name = "IBISsExtendedUssdReq",
mtlvs = {1, 3, 4, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "data_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "data_length_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISsUssdSendMode",
},
type_desc = "send_mode_t5"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "dcs_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_continued_ussd_transaction_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tid_t9"
},
},
},
[260] = {
name = "IBISsAbortReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[262] = {
name = "IBISsIdentificationReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
},
},
[263] = {
name = "IBISsCallWaitingReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISsBasicServiceGroup",
},
type_desc = "basic_service_groups_t5"
},
},
},
[265] = {
name = "IBISsCallBarringReq_V1",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISsBasicServiceGroup",
},
type_desc = "basic_service_groups_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "call_barring_existing_pwd_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "call_barring_new_pwd_t7"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "call_barring_repeat_new_pwd_t9"
},
},
},
[513] = {
name = "IBISsCallForwardRspCb",
mtlvs = {1, 3, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 140,
name = "IBISsCallForwardingFeatureExtStruct",
},
type_desc = "cf_list_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cf_list_length_t6"
},
[7] = {
codec = {
length = 20,
name = "IBISsOperationResponse",
},
type_desc = "response_t7"
},
},
},
[514] = {
name = "IBISsExtendedUssdRspCb",
mtlvs = {1, 3, 4, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 20,
name = "IBISsOperationResponse",
},
type_desc = "response_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsUssdType",
},
type_desc = "ussd_type_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "data_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "data_length_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "dcs_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "release_complete_t8"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tid_t11"
},
},
},
[516] = {
name = "IBISsAbortRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[518] = {
name = "IBISsIdentificationRspCb",
mtlvs = {1, 3, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 1,
name = "IBISsStatus",
},
type_desc = "ss_status_t5"
},
[6] = {
codec = {
length = 4,
name = "IBISsClirOption",
},
type_desc = "cli_restrict_options_t6"
},
[7] = {
codec = {
length = 20,
name = "IBISsOperationResponse",
},
type_desc = "response_t7"
},
},
},
[519] = {
name = "IBISsCallWaitingRspCb",
mtlvs = {1, 3, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 8,
name = "IBISsCallWaitingFeatureStruct",
},
type_desc = "cw_list_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cw_list_length_t6"
},
[7] = {
codec = {
length = 20,
name = "IBISsOperationResponse",
},
type_desc = "response_t7"
},
},
},
[521] = {
name = "IBISsCallBarringRspCb_V1",
mtlvs = {1, 3, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISsOperationCode",
},
type_desc = "operation_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISsServiceCode",
},
type_desc = "service_code_t4"
},
[5] = {
codec = {
length = 8,
name = "IBISsCallBarringFeatureStruct",
},
type_desc = "cb_list_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cb_list_length_t6"
},
[7] = {
codec = {
length = 20,
name = "IBISsOperationResponse",
},
type_desc = "response_t7"
},
},
},
[769] = {
name = "IBISsUssdIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISsUssdType",
},
type_desc = "ussd_type_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "data_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "data_length_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "dcs_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "release_complete_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tid_t7"
},
},
},
},
[7] = {
["name"] = "_ARIMSGDEF_GROUP07_net_plmn",
[258] = {
name = "IBINetDetachReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[262] = {
name = "IBINetPowerDownReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[264] = {
name = "IBINetIceFdStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[266] = {
name = "IBINetIceSingleShotFdReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "rel8_only_t3"
},
},
},
[272] = {
name = "IBIMsNetIceCsgAsfSearchReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "mcc_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "mnc_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "csg_id_t5"
},
},
},
[273] = {
name = "IBISendApacsDataReq",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "num_entries_t2"
},
[3] = {
codec = {
length = 460,
name = "IBINetPssiList",
},
type_desc = "pssi_table_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIApacsType",
},
type_desc = "apacs_type_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "message_sequence_number_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "total_number_of_messages_t6"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "boostrap_version_t8"
},
[9] = {
codec = {
length = 280,
name = "IBINetPssiListExt",
},
type_desc = "pssi_table_ext_t9"
},
[10] = {
codec = {
length = 8,
name = "IBINetPssiCdma1xInfo",
},
type_desc = "cdma_1x_pssi_table_t10"
},
[11] = {
codec = {
length = 20,
name = "IBINetPssiCdmaEvdoInfo",
},
type_desc = "cdma_evdo_pssi_table_t11"
},
},
},
[274] = {
name = "IBIApacsDataStatusReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIApacs_status_resp",
},
type_desc = "apacs_status_t2"
},
[3] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "plmn_t3"
},
},
},
[275] = {
name = "IBINetIceCellularSwitchStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "roaming_enhancement_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cellular_data_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "data_roaming_t5"
},
},
},
[276] = {
name = "IBIP2PProximityStatusReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "proximity_indicator_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "HW_version_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "SW_version_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "BB_info_t6"
},
},
},
[278] = {
name = "IBINetIceApStatusReq",
mtlvs = {},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBINetApScreenStatusType",
},
type_desc = "screen_status_t2"
},
[3] = {
codec = {
length = 4,
name = "IBINetApSleepStatusType",
},
type_desc = "sleep_status_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetApTetheringStatusType",
},
type_desc = "tethering_status_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetApBatterySaverModeType",
},
type_desc = "battery_saver_mode_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetApScreenLockStatusType",
},
type_desc = "screen_lock_status_t6"
},
},
},
[279] = {
name = "IBISetRtcEpochTimeReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "IBIUInt64",
},
type_desc = "time_t1"
},
},
},
[280] = {
name = "IBINetAttachReq_V1",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetRegistrationMode",
},
type_desc = "registration_mode_t3"
},
[4] = {
codec = {
length = 12,
name = "IBIPlmnWAcT",
},
type_desc = "plmn_w_ac_t_t4"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "reboot_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cmas_only_t8"
},
},
},
[281] = {
name = "IBINetGetPlmnNameInfoReq_V1",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "plmn_count_t3"
},
[4] = {
codec = {
length = 8,
name = "IBINetPlmnId",
},
type_desc = "plmn_id_t4"
},
},
},
[283] = {
name = "IBINetGetRegistrationInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[284] = {
name = "IBINetIncrementalScanReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetEonsSupport",
},
type_desc = "eons_support_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "provide_plmn_name_t4"
},
},
},
[285] = {
name = "IBISendPreferredListReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 3084,
name = "IBIPlmnPriorityInfo",
},
type_desc = "plmn_info_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "message_seq_number_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "total_msg_number_t5"
},
},
},
[286] = {
name = "IBISendPreferredPlmnVersionReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "CRC_t3"
},
},
},
[287] = {
name = "IBIP2PMsgPushReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "timestamp_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "MsgType_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "BB_info_req_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "ext_flag_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "MsgData_t7"
},
},
},
[288] = {
name = "IBINetSetSystemSelectionPreferenceReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "user_reboot_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cmas_only_t4"
},
},
},
[289] = {
name = "IBINetSetECBMReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ecbm_enabled_t3"
},
},
},
[514] = {
name = "IBINetDetachRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetRegistrationStatus",
},
type_desc = "registration_status_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetUserCause",
},
type_desc = "user_cause_t4"
},
},
},
[518] = {
name = "IBINetPowerDownCnfCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[520] = {
name = "IBINetIceFdStatusCnfCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetFdStatus",
},
type_desc = "fd_status_t3"
},
},
},
[522] = {
name = "IBINetSingleShotFdRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetFdorRejectCause",
},
type_desc = "reject_cause_t4"
},
},
},
[528] = {
name = "IBIMsNetIceCsgAsfSearchCnfCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "csg_asf_search_status_t3"
},
[4] = {
codec = {
length = 8,
name = "IBICsgInfo",
},
type_desc = "csg_info_t4"
},
},
},
[529] = {
name = "IBISendApacsDataRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[530] = {
name = "IBIApacsDataStatusRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[531] = {
name = "IBINetIceCellularSwitchStatusRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[532] = {
name = "IBIP2PProximityStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_type_t3"
},
},
},
[534] = {
name = "IBINetIceApStatusRspCb",
mtlvs = {},
tlvs = {
},
},
[535] = {
name = "IBISetRtcEpochTimeRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "status_t1"
},
},
},
[536] = {
name = "IBINetAttachRspCb_V1",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_type_t3"
},
},
},
[537] = {
name = "IBINetGetPlmnNameInfoRspCb_V1",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "plmn_count_t3"
},
[4] = {
codec = {
length = 108,
name = "IBINetPlmn_V1",
},
type_desc = "plmn_list_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetGetPlmnNameInfoResult",
},
type_desc = "result_t5"
},
[6] = {
codec = {
length = 100,
name = "IBINetPlmnNameInfo_V1",
},
type_desc = "network_plmn_name_t6"
},
},
},
[539] = {
name = "IBINetGetRegistrationInfoRspCb",
mtlvs = {1, 3, 6, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetRegistrationStatus",
},
type_desc = "cs_registration_status_t3"
},
[5] = {
codec = {
length = 4,
name = "IBINetError",
},
type_desc = "cs_error_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetRegistrationStatus",
},
type_desc = "ps_registration_status_t6"
},
[8] = {
codec = {
length = 4,
name = "IBINetError",
},
type_desc = "ps_error_t8"
},
[9] = {
codec = {
length = 4,
name = "IBINetRegistrationMode",
},
type_desc = "registration_mode_t9"
},
[11] = {
codec = {
length = 12,
name = "IBIPlmnWAcT",
},
type_desc = "plmn_w_ac_t_t11"
},
[13] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_roaming_t13"
},
[21] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ims_emergency_supported_t21"
},
[26] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_ps_rej_internal_t26"
},
[32] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_cs_rej_internal_t32"
},
[33] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_1x_eri_t33"
},
[34] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_evdo_eri_t34"
},
[35] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "network_ims_voice_over_ps_supported_t35"
},
},
},
[540] = {
name = "IBINetIncrementalScanRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_type_t3"
},
},
},
[541] = {
name = "IBISendPreferredListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "status_t3"
},
},
},
[542] = {
name = "IBISendPreferredPlmnVersionRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "status_t3"
},
},
},
[543] = {
name = "IBIP2PMsgPushRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "BB_info_t4"
},
},
},
[544] = {
name = "IBINetSetSystemSelectionPreferenceRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_type_t3"
},
},
},
[545] = {
name = "IBINetSetECBMRspCb",
mtlvs = {},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t3"
},
},
},
[769] = {
name = "IBINetRegistrationInfoIndCb",
mtlvs = {1, 2, 5, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBINetRegistrationStatus",
},
type_desc = "cs_registration_status_t2"
},
[3] = {
codec = {
length = 4,
name = "IBINetRegistrationRejectCause",
},
type_desc = "cs_registration_reject_cause_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetError",
},
type_desc = "cs_error_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetRegistrationStatus",
},
type_desc = "ps_registration_status_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetRegistrationRejectCause",
},
type_desc = "ps_registration_reject_cause_t6"
},
[7] = {
codec = {
length = 4,
name = "IBINetError",
},
type_desc = "ps_error_t7"
},
[8] = {
codec = {
length = 4,
name = "IBINetRegistrationMode",
},
type_desc = "registration_mode_t8"
},
[10] = {
codec = {
length = 12,
name = "IBIPlmnWAcT",
},
type_desc = "plmn_w_ac_t_t10"
},
[11] = {
codec = {
length = 4,
name = "IBINetBand",
},
type_desc = "band_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_roaming_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_eplmn_t13"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cs_reg_reject_cause_updated_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ps_reg_reject_cause_updated_t17"
},
[19] = {
codec = {
length = 4,
name = "IBINetAreaType",
},
type_desc = "area_type_t19"
},
[20] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ims_emergency_supported_t20"
},
[22] = {
codec = {
length = 8,
name = "IBICallPsResult",
},
type_desc = "sm_cause_t22"
},
[23] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bIsApnValid_t23"
},
[25] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_cs_rej_internal_t25"
},
[26] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_ps_rej_internal_t26"
},
[27] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_1x_eri_t27"
},
[28] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_evdo_eri_t28"
},
[29] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "network_ims_voice_over_ps_supported_t29"
},
},
},
[770] = {
name = "IBINetNetworkFeatureSupportInfoIndCb",
mtlvs = {1, 4, 5, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ims_voice_over_ps_supported_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "emergency_bearer_supported_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetNetworkFeatureAdditionalInfo",
},
type_desc = "nw_feature_additional_Info_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "rat_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "roaming_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_ehrpd_available_t9"
},
},
},
[772] = {
name = "IBINetIceFdReportIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBINetFdStatus",
},
type_desc = "fd_status_t2"
},
},
},
[773] = {
name = "IBILapsFetchIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "laps_fetch_type_t2"
},
[3] = {
codec = {
length = 124,
name = "IBIMsNetIcelapsfetchdata",
},
type_desc = "laps_fetch_data_t3"
},
},
},
[774] = {
name = "IBINetIceManualPlmnModeIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "last_selected_plmn_t2"
},
[3] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "hplmn_or_ehplmn_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "third_country_mcc_t4"
},
},
},
[776] = {
name = "IBIP2PMessageIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "waking_indicator_t2"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "MsgType_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "MsgData_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "if_delete_t5"
},
},
},
[778] = {
name = "IBINetNitzInfoIndCb_V1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_timezone_available_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_time_available_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_dst_available_t6"
},
[8] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "timezone_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "daylight_saving_time_t9"
},
[10] = {
codec = {
length = 10,
name = "IBIDateTime",
},
type_desc = "time_t10"
},
[12] = {
codec = {
length = 12,
name = "IBIPlmnWAcT",
},
type_desc = "plmn_w_ac_t_t12"
},
},
},
[779] = {
name = "IBINetGetPlmnNameInfoIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "plmn_count_t2"
},
[3] = {
codec = {
length = 108,
name = "IBINetPlmn_V1",
},
type_desc = "plmn_list_t3"
},
[4] = {
codec = {
length = 100,
name = "IBINetPlmnNameInfo_V1",
},
type_desc = "network_plmn_name_t4"
},
},
},
[780] = {
name = "IBINetRegisteredPlmnNameIndCb_V1",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "plmn_id_t2"
},
[3] = {
codec = {
length = 100,
name = "IBINetPlmnNameInfo_V1",
},
type_desc = "plmn_name_info_t3"
},
[4] = {
codec = {
length = 100,
name = "IBINetPlmnNameInfo_V1",
},
type_desc = "network_plmn_name_t4"
},
},
},
[781] = {
name = "IBINetIncrementalScanIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 3964,
name = "IBINetPlmnScanList_V1",
},
type_desc = "plmn_scan_list_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "scan_rejected_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetUserCause",
},
type_desc = "user_cause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "final_report_t5"
},
},
},
[801] = {
name = "IBINetSetECBMIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ecbm_enabled_t2"
},
},
},
},
[8] = {
["name"] = "_ARIMSGDEF_GROUP08_net_rat",
[258] = {
name = "IBINetConfigureNetworkModeReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 20,
name = "IBINetRatModeSetting",
},
type_desc = "rat_mode_settings_t3"
},
[4] = {
codec = {
length = 16,
name = "IBINetPreferredRatSetting",
},
type_desc = "preferred_rat_settings_t4"
},
[5] = {
codec = {
length = 540,
name = "IBINetBandSettings",
},
type_desc = "band_settings_t5"
},
[6] = {
codec = {
length = 8,
name = "IBINetRatModeSettingExt",
},
type_desc = "cdma_rat_mode_settings_t6"
},
[7] = {
codec = {
length = 12,
name = "IBINetPreferredRatSettingExt",
},
type_desc = "cdma_preferred_rat_settings_t7"
},
[8] = {
codec = {
length = 344,
name = "IBINetBandSettingsExt",
},
type_desc = "cdma_band_settings_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cdma_international_roaming_enabled_t9"
},
[10] = {
codec = {
length = 564,
name = "IBINetBandSettings3gppExt",
},
type_desc = "band_settings_3gpp_ext_t10"
},
[11] = {
codec = {
length = 172,
name = "IBINetBandConfiguration",
},
type_desc = "cdma_bands_t11"
},
},
},
[259] = {
name = "IBINetRatModeStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[260] = {
name = "IBINetBandStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[261] = {
name = "IBINetRatSwitchStatusReport",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "switch_toggled_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIRatSwitchType",
},
type_desc = "ap_rat_switch_type_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIRatSwitchStatus",
},
type_desc = "ap_rat_switch_status_t4"
},
},
},
[514] = {
name = "IBINetConfigureNetworkModeRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "success_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetConfigureNetworkModeError",
},
type_desc = "error_cause_t4"
},
},
},
[515] = {
name = "IBINetRatModeStatusRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 12,
name = "IBINetEnabledRats",
},
type_desc = "rat_mode_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "pref_rat_list_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetDuplexMode",
},
type_desc = "umts_duplex_mode_t5"
},
[6] = {
codec = {
length = 8,
name = "IBINetEnabledRatsExt",
},
type_desc = "cdma_rat_mode_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "cdma_pref_rat_list_t7"
},
},
},
[516] = {
name = "IBINetBandStatusRspCb",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 344,
name = "IBINet2gBandstatus",
},
type_desc = "gsm_band_status_t3"
},
[4] = {
codec = {
length = 344,
name = "IBINet3gBandstatus",
},
type_desc = "umts_band_status_t4"
},
[5] = {
codec = {
length = 16,
name = "IBINetLteBandstatus",
},
type_desc = "lte_band_status_t5"
},
[6] = {
codec = {
length = 344,
name = "IBINetUmtsTddBandStatus",
},
type_desc = "umts_tdd_band_status_t6"
},
[7] = {
codec = {
length = 344,
name = "IBINetCdmaBandStatus",
},
type_desc = "cdma1x_band_status_t7"
},
[8] = {
codec = {
length = 344,
name = "IBINetCdmaBandStatus",
},
type_desc = "cdmaEvdo_band_status_t8"
},
[9] = {
codec = {
length = 64,
name = "IBINetExtLteBandstatus",
},
type_desc = "lte_band_status_ext_t9"
},
[10] = {
codec = {
length = 344,
name = "IBINetCdmaBandStatus",
},
type_desc = "cdma_band_status_t10"
},
},
},
[769] = {
name = "IBINetNetworkModeChangeIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 20,
name = "IBINetRatModeSetting",
},
type_desc = "rat_mode_settings_t2"
},
[4] = {
codec = {
length = 540,
name = "IBINetBandSettings",
},
type_desc = "band_settings_t4"
},
[5] = {
codec = {
length = 8,
name = "IBINetRatModeSettingExt",
},
type_desc = "cdma_rat_mode_settings_t5"
},
[6] = {
codec = {
length = 344,
name = "IBINetBandSettingsExt",
},
type_desc = "cdma_band_settings_t6"
},
[7] = {
codec = {
length = 564,
name = "IBINetBandSettings3gppExt",
},
type_desc = "band_settings_3gpp_ext_t7"
},
[8] = {
codec = {
length = 172,
name = "IBINetBandConfiguration",
},
type_desc = "cdma_bands_t8"
},
},
},
[770] = {
name = "IBINetRatModeStatusIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBINetEnabledRats",
},
type_desc = "rat_mode_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "pref_rat_list_t3"
},
[4] = {
codec = {
length = 8,
name = "IBINetEnabledRatsExt",
},
type_desc = "cdma_rat_mode_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "cdma_pref_rat_list_t5"
},
},
},
},
[9] = {
["name"] = "_ARIMSGDEF_GROUP09_net_cell",
[257] = {
name = "IBINetSetRadioSignalReportingConfiguration",
mtlvs = {1, 2, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "radioSignalReportingConfigPresenceBitmask_t2"
},
[3] = {
codec = {
length = 20,
name = "IBINetGSMRadioSignalReportingConfiguration",
},
type_desc = "gsm_radio_signal_report_config_t3"
},
[4] = {
codec = {
length = 32,
name = "IBINetUMTSRadioSignalReportingConfiguration",
},
type_desc = "umts_radio_signal_report_config_t4"
},
[5] = {
codec = {
length = 44,
name = "IBINetLTERadioSignalReportingConfiguration",
},
type_desc = "lte_radio_signal_report_config_t5"
},
[6] = {
codec = {
length = 44,
name = "IBINetCdma1xRadioSignalReportingConfiguration",
},
type_desc = "cdma1x_radio_signal_report_config_t6"
},
[7] = {
codec = {
length = 44,
name = "IBINetCdmaEvdoRadioSignalReportingConfiguration",
},
type_desc = "cdmaEvdo_radio_signal_report_config_t7"
},
},
},
[258] = {
name = "IBINetSetRadioSignalReporting",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enable_reporting_t2"
},
},
},
[259] = {
name = "IBINetSingleShotRadioSignalReportingReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetSingleShotReportingReqType",
},
type_desc = "reqtype_t3"
},
},
},
[263] = {
name = "IBINetGetCellInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[264] = {
name = "IBINetGetCurrCellInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[265] = {
name = "IBINetGetCellInfoReqV1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[288] = {
name = "IBIMsAccCurrentFreqInfoReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIAccFreqReportingType",
},
type_desc = "reporting_type_t3"
},
},
},
[290] = {
name = "IBINetEmergencyCellEndReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[291] = {
name = "IBINetGetEmergencyCellReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetEmergencySearchModePref",
},
type_desc = "modePref_t3"
},
[4] = {
codec = {
length = 44,
name = "IBINetEmergencyPLMNAvoidanceList",
},
type_desc = "avoidanceList_t4"
},
},
},
[292] = {
name = "IBINetGetAcBarringInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[293] = {
name = "IBINetEmergencyCellSearchReq",
mtlvs = {3, 4, 5},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBINetEmergencySearchModePref",
},
type_desc = "mode_pref_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "avoid_previous_cells_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetEmergencyCellSearchParameter",
},
type_desc = "em_param_t5"
},
},
},
[294] = {
name = "IBISetDeviceRegionCodeReq",
mtlvs = {2, 3},
tlvs = {
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "length_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "region_code_t3"
},
},
},
[295] = {
name = "IBIMsNetGetEmergencyCellInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[296] = {
name = "IBINetCellBBSignatureReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[515] = {
name = "IBINetSingleShotRadioSignalReportingRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 580,
name = "IBINetGsmcellInfoList",
},
type_desc = "gsm_list_t3"
},
[4] = {
codec = {
length = 1156,
name = "IBINetUmtscellInfoList",
},
type_desc = "umts_list_t4"
},
[5] = {
codec = {
length = 1540,
name = "IBINetLtecellInfoList",
},
type_desc = "lte_list_t5"
},
[6] = {
codec = {
length = 52,
name = "IBINetCdma1xcellInfoList",
},
type_desc = "cdma1x_list_t6"
},
[7] = {
codec = {
length = 56,
name = "IBINetCdmaEvdocellInfoList",
},
type_desc = "cdmaEvdo_list_t7"
},
},
},
[519] = {
name = "IBINetGetCellInfoRespCb",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 8,
name = "IBICellResponseT",
},
type_desc = "resp_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "csg_indicator_valid_t4"
},
[5] = {
codec = {
length = 1,
name = "IBICSGIndicatorT",
},
type_desc = "csg_indicator_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "csg_info_valid_t6"
},
[7] = {
codec = {
length = 4,
name = "IBICSGInfoT",
},
type_desc = "csg_info_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "umts_scell_info_valid_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_scell_info_len_t9"
},
[10] = {
codec = {
length = 28,
name = "IBIUmtsCellInfoT",
},
type_desc = "umts_scell_info_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gsm_scell_info_valid_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_scell_info_len_t12"
},
[13] = {
codec = {
length = 24,
name = "IBIGsmCellInfoT",
},
type_desc = "gsm_scell_info_t13"
},
[14] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "lte_scell_info_valid_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_scell_info_len_t15"
},
[16] = {
codec = {
length = 32,
name = "IBILteCellInfoT",
},
type_desc = "lte_scell_info_t16"
},
[17] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "umts_ncell_info_valid_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_ncell_info_len_t18"
},
[19] = {
codec = {
length = 8,
name = "IBIUmtsNeighborCellInfoT",
},
type_desc = "umts_ncell_info_t19"
},
[20] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gsm_ncell_info_valid_t20"
},
[21] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_ncell_info_len_t21"
},
[22] = {
codec = {
length = 4,
name = "IBIGsmNeighborCellInfoT",
},
type_desc = "gsm_ncell_info_t22"
},
[23] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "lte_ncell_info_valid_t23"
},
[24] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_ncell_info_len_t24"
},
[25] = {
codec = {
length = 8,
name = "IBILteNeighborCellInfoT",
},
type_desc = "lte_ncell_info_t25"
},
[26] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tds_scell_info_valid_t26"
},
[27] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_scell_info_len_t27"
},
[28] = {
codec = {
length = 28,
name = "IBITdsCellInfoT",
},
type_desc = "tds_scell_info_t28"
},
[29] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tds_ncell_info_valid_t29"
},
[30] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_ncell_info_len_t30"
},
[31] = {
codec = {
length = 8,
name = "IBITdsNeighborCellInfoT",
},
type_desc = "tds_ncell_info_t31"
},
[32] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma1x_scell_info_valid_t32"
},
[33] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma1x_scell_info_len_t33"
},
[34] = {
codec = {
length = 48,
name = "IBINetCdma1xCellInfo",
},
type_desc = "cdma1x_scell_info_t34"
},
[35] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_evdo_scell_info_valid_t35"
},
[36] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_evdo_scell_info_len_t36"
},
[37] = {
codec = {
length = 52,
name = "IBINetCdmaEvdoCellInfo",
},
type_desc = "cdma_evdo_scell_info_t37"
},
[38] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma1x_ncell_info_valid_t38"
},
[39] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma1x_ncell_info_len_t39"
},
[40] = {
codec = {
length = 8,
name = "IBICdma1xNeighborCellInfo",
},
type_desc = "cdma1x_ncell_info_t40"
},
[41] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_evdo_ncell_info_valid_t41"
},
[48] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_evdo_ncell_info_len_t48"
},
[49] = {
codec = {
length = 10,
name = "IBICdmaEvdoNeighborCellInfo",
},
type_desc = "cdma_evdo_ncell_info_t49"
},
[50] = {
codec = {
length = 36,
name = "IBILteCellInfoV1T",
},
type_desc = "lte_scell_info_ext_t50"
},
[51] = {
codec = {
length = 12,
name = "IBILteNeighborCellInfoV1T",
},
type_desc = "lte_ncell_info_ext_t51"
},
},
},
[520] = {
name = "IBINetGetCurrCellInfoRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 68,
name = "IBINetCellInfoIndParam",
},
type_desc = "cell_info_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIRatInfoExtension",
},
type_desc = "duplex_mode_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cell_info_valid_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cdma_plmn_pres_t7"
},
[8] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "cdma_plmn_t8"
},
[9] = {
codec = {
length = 16,
name = "IBINetCdma1xCellInfoParam",
},
type_desc = "cdma1x_cell_info_t9"
},
[16] = {
codec = {
length = 24,
name = "IBINetCdmaEvdoCellInfoParam",
},
type_desc = "cdmaEvdo_cell_info_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_ehrpd_available_t17"
},
},
},
[521] = {
name = "IBINetGetCellInfoRespCbV1",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 8,
name = "IBICellResponseT",
},
type_desc = "resp_t3"
},
[4] = {
codec = {
length = 1,
name = "IBICSGIndicatorT",
},
type_desc = "csg_indicator_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICSGInfoT",
},
type_desc = "csg_info_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_scell_info_len_t6"
},
[7] = {
codec = {
length = 28,
name = "IBIUmtsCellInfoT",
},
type_desc = "umts_scell_info_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_scell_info_len_t8"
},
[9] = {
codec = {
length = 24,
name = "IBIGsmCellInfoT",
},
type_desc = "gsm_scell_info_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_scell_info_len_t10"
},
[11] = {
codec = {
length = 32,
name = "IBILteCellInfoT",
},
type_desc = "lte_scell_info_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_ncell_info_len_t12"
},
[13] = {
codec = {
length = 8,
name = "IBIUmtsNeighborCellInfoT",
},
type_desc = "umts_ncell_info_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_ncell_info_len_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIGsmNeighborCellInfoT",
},
type_desc = "gsm_ncell_info_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_ncell_info_len_t16"
},
[17] = {
codec = {
length = 8,
name = "IBILteNeighborCellInfoT",
},
type_desc = "lte_ncell_info_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_scell_info_len_t18"
},
[19] = {
codec = {
length = 28,
name = "IBITdsCellInfoT",
},
type_desc = "tds_scell_info_t19"
},
[20] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_ncell_info_len_t20"
},
[21] = {
codec = {
length = 8,
name = "IBITdsNeighborCellInfoT",
},
type_desc = "tds_ncell_info_t21"
},
[22] = {
codec = {
length = 48,
name = "IBINetCdma1xCellInfo",
},
type_desc = "cdma1x_scell_info_t22"
},
[23] = {
codec = {
length = 52,
name = "IBINetCdmaEvdoCellInfo",
},
type_desc = "cdma_evdo_scell_info_t23"
},
[24] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma1x_ncell_info_len_t24"
},
[25] = {
codec = {
length = 8,
name = "IBICdma1xNeighborCellInfo",
},
type_desc = "cdma1x_ncell_info_t25"
},
[26] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_evdo_ncell_info_len_t26"
},
[27] = {
codec = {
length = 10,
name = "IBICdmaEvdoNeighborCellInfo",
},
type_desc = "cdma_evdo_ncell_info_t27"
},
[28] = {
codec = {
length = 36,
name = "IBILteCellInfoV1T",
},
type_desc = "lte_scell_info_ext_t28"
},
[29] = {
codec = {
length = 12,
name = "IBILteNeighborCellInfoV1T",
},
type_desc = "lte_ncell_info_ext_t29"
},
},
},
[544] = {
name = "IBIMsAccCurrentFreqInfoRspCb",
mtlvs = {1, 3, 5, 6, 7, 8, 9, 10},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "status_t3"
},
[5] = {
codec = {
length = 52,
name = "IBIAccServingDLFreqBandwidthInfo",
},
type_desc = "dl_freq_info_t5"
},
[6] = {
codec = {
length = 28,
name = "IBIAccServingULFreqBandwidthInfo",
},
type_desc = "ul_freq_info_t6"
},
[7] = {
codec = {
length = 244,
name = "IBIAccSearchFreqBandwidthInfo",
},
type_desc = "search_freq_info_t7"
},
[8] = {
codec = {
length = 772,
name = "IBIAccHoppingFreqBandwidthInfo",
},
type_desc = "hopping_freq_info_t8"
},
[9] = {
codec = {
length = 1204,
name = "IBIAccNeighborFreqBandwidthInfo",
},
type_desc = "neighbor_freq_info_t9"
},
[10] = {
codec = {
length = 844,
name = "IBIAccRPLMNFreqBandwidthInfo",
},
type_desc = "rplmn_freq_info_t10"
},
[11] = {
codec = {
length = 124,
name = "IBIAccServingDLFreqBandwidthInfo_ext",
},
type_desc = "dl_freq_info_ext_t11"
},
[12] = {
codec = {
length = 124,
name = "IBIAccServingULFreqBandwidthInfo_ext",
},
type_desc = "ul_freq_info_ext_t12"
},
},
},
[546] = {
name = "IBINetEmergencyCellEndRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[547] = {
name = "IBINetGetEmergencyCellRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetEmergencyCellInfoResult",
},
type_desc = "result_t3"
},
},
},
[548] = {
name = "IBINetGetAcBarringInfoRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 12,
name = "IBINetLteCellAcBarringInfo",
},
type_desc = "acb_info_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_barring_mmtel_voice_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_barring_mmtel_video_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_barring_sms_t7"
},
},
},
[549] = {
name = "IBINetEmergencyCellSearchRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetEmergencyCellInfoResult",
},
type_desc = "result_t3"
},
},
},
[550] = {
name = "IBISetDeviceRegionCodeRspCb",
mtlvs = {2},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t2"
},
},
},
[551] = {
name = "IBIMsNetGetEmergencyCellInfoRspCb",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetEmergencyCellInfoResult",
},
type_desc = "procedure_result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "rat_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ps_reg_status_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cs_reg_status_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ims_emergency_bearer_t7"
},
},
},
[552] = {
name = "IBINetCellBBSignatureRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[769] = {
name = "IBINetCellInfoIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "plmn_t2"
},
[3] = {
codec = {
length = 4,
name = "IBINetCellId",
},
type_desc = "cell_id_t3"
},
[4] = {
codec = {
length = 2,
name = "IBINetLac",
},
type_desc = "lac_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_gprs_available_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_edge_available_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_dtm_available_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_hsdpa_available_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_hsupa_available_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "current_rac_t10"
},
[11] = {
codec = {
length = 4,
name = "IBINetNetworkOpMode",
},
type_desc = "network_op_mode_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_cb_available_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "rat_t13"
},
[14] = {
codec = {
length = 4,
name = "IBINetBand",
},
type_desc = "gsm_band_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "eutra_detected_t15"
},
[16] = {
codec = {
length = 2,
name = "IBINetTac",
},
type_desc = "tac_t16"
},
[17] = {
codec = {
length = 4,
name = "IBINetAreaType",
},
type_desc = "area_type_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIRatInfoExtension",
},
type_desc = "duplex_mode_t18"
},
[19] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "plmn_pres_t19"
},
[20] = {
codec = {
length = 16,
name = "IBINetCdma1xCellInfoParam",
},
type_desc = "cdma1x_cell_info_t20"
},
[21] = {
codec = {
length = 24,
name = "IBINetCdmaEvdoCellInfoParam",
},
type_desc = "cdmaEvdo_cell_info_t21"
},
[22] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_ehrpd_available_t22"
},
},
},
[770] = {
name = "IBINetConnectionInfoIndCb",
mtlvs = {1, 2, 3, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_connected_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_enciphered_t3"
},
[5] = {
codec = {
length = 4,
name = "IBICnDomain",
},
type_desc = "cn_domain_t5"
},
},
},
[772] = {
name = "IBINetRadioSignalIndCb",
mtlvs = {1, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBINetSignalStrength",
},
type_desc = "signal_strength_t2"
},
[3] = {
codec = {
length = 1,
name = "IBINetSignalQuality",
},
type_desc = "signal_quality_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetSignalStrenghtMax",
},
type_desc = "max_signal_strength_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetSignalQualityMax",
},
type_desc = "max_signal_quality_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "scell_rat_t6"
},
[8] = {
codec = {
length = 52,
name = "IBINetSignalScellInfo",
},
type_desc = "scell_info_t8"
},
},
},
[775] = {
name = "IBINetGetCellInfoIndCb",
mtlvs = {1, 2, 4, 6, 9, 12, 15, 18, 21, 24, 27},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "csg_indicator_valid_t2"
},
[3] = {
codec = {
length = 1,
name = "IBICSGIndicatorT",
},
type_desc = "csg_indicator_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "csg_info_valid_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICSGInfoT",
},
type_desc = "csg_info_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "umts_scell_info_valid_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_scell_info_len_t7"
},
[8] = {
codec = {
length = 28,
name = "IBIUmtsCellInfoT",
},
type_desc = "umts_scell_info_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gsm_scell_info_valid_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_scell_info_len_t10"
},
[11] = {
codec = {
length = 24,
name = "IBIGsmCellInfoT",
},
type_desc = "gsm_scell_info_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "lte_scell_info_valid_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_scell_info_len_t13"
},
[14] = {
codec = {
length = 32,
name = "IBILteCellInfoT",
},
type_desc = "lte_scell_info_t14"
},
[15] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "umts_ncell_info_valid_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_ncell_info_len_t16"
},
[17] = {
codec = {
length = 8,
name = "IBIUmtsNeighborCellInfoT",
},
type_desc = "umts_ncell_info_t17"
},
[18] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gsm_ncell_info_valid_t18"
},
[19] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_ncell_info_len_t19"
},
[20] = {
codec = {
length = 4,
name = "IBIGsmNeighborCellInfoT",
},
type_desc = "gsm_ncell_info_t20"
},
[21] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "lte_ncell_info_valid_t21"
},
[22] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_ncell_info_len_t22"
},
[23] = {
codec = {
length = 8,
name = "IBILteNeighborCellInfoT",
},
type_desc = "lte_ncell_info_t23"
},
[24] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tds_scell_info_valid_t24"
},
[25] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_scell_info_len_t25"
},
[26] = {
codec = {
length = 28,
name = "IBITdsCellInfoT",
},
type_desc = "tds_scell_info_t26"
},
[27] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tds_ncell_info_valid_t27"
},
[28] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_ncell_info_len_t28"
},
[29] = {
codec = {
length = 8,
name = "IBITdsNeighborCellInfoT",
},
type_desc = "tds_ncell_info_t29"
},
[30] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma1x_scell_info_valid_t30"
},
[31] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma1x_scell_info_len_t31"
},
[32] = {
codec = {
length = 48,
name = "IBINetCdma1xCellInfo",
},
type_desc = "cdma1x_scell_info_t32"
},
[33] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_evdo_scell_info_valid_t33"
},
[34] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_evdo_scell_info_len_t34"
},
[35] = {
codec = {
length = 52,
name = "IBINetCdmaEvdoCellInfo",
},
type_desc = "cdma_evdo_scell_info_t35"
},
[36] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma1x_ncell_info_valid_t36"
},
[37] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma1x_ncell_info_len_t37"
},
[38] = {
codec = {
length = 8,
name = "IBICdma1xNeighborCellInfo",
},
type_desc = "cdma1x_ncell_info_t38"
},
[39] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_evdo_ncell_info_valid_t39"
},
[40] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_evdo_ncell_info_len_t40"
},
[41] = {
codec = {
length = 10,
name = "IBICdmaEvdoNeighborCellInfo",
},
type_desc = "cdma_evdo_ncell_info_t41"
},
[42] = {
codec = {
length = 36,
name = "IBILteCellInfoV1T",
},
type_desc = "lte_scell_info_ext_t42"
},
[43] = {
codec = {
length = 12,
name = "IBILteNeighborCellInfoV1T",
},
type_desc = "lte_ncell_info_ext_t43"
},
},
},
[776] = {
name = "IBINetGetCellInfoIndCbV1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICSGIndicatorT",
},
type_desc = "csg_indicator_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICSGInfoT",
},
type_desc = "csg_info_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_scell_info_len_t4"
},
[5] = {
codec = {
length = 28,
name = "IBIUmtsCellInfoT",
},
type_desc = "umts_scell_info_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_scell_info_len_t6"
},
[7] = {
codec = {
length = 24,
name = "IBIGsmCellInfoT",
},
type_desc = "gsm_scell_info_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_scell_info_len_t8"
},
[9] = {
codec = {
length = 32,
name = "IBILteCellInfoT",
},
type_desc = "lte_scell_info_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "umts_ncell_info_len_t10"
},
[11] = {
codec = {
length = 8,
name = "IBIUmtsNeighborCellInfoT",
},
type_desc = "umts_ncell_info_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gsm_ncell_info_len_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIGsmNeighborCellInfoT",
},
type_desc = "gsm_ncell_info_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lte_ncell_info_len_t14"
},
[15] = {
codec = {
length = 8,
name = "IBILteNeighborCellInfoT",
},
type_desc = "lte_ncell_info_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_scell_info_len_t16"
},
[17] = {
codec = {
length = 28,
name = "IBITdsCellInfoT",
},
type_desc = "tds_scell_info_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tds_ncell_info_len_t18"
},
[19] = {
codec = {
length = 8,
name = "IBITdsNeighborCellInfoT",
},
type_desc = "tds_ncell_info_t19"
},
[20] = {
codec = {
length = 48,
name = "IBINetCdma1xCellInfo",
},
type_desc = "cdma1x_scell_info_t20"
},
[21] = {
codec = {
length = 52,
name = "IBINetCdmaEvdoCellInfo",
},
type_desc = "cdma_evdo_scell_info_t21"
},
[22] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma1x_ncell_info_len_t22"
},
[23] = {
codec = {
length = 8,
name = "IBICdma1xNeighborCellInfo",
},
type_desc = "cdma1x_ncell_info_t23"
},
[24] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_evdo_ncell_info_len_t24"
},
[25] = {
codec = {
length = 10,
name = "IBICdmaEvdoNeighborCellInfo",
},
type_desc = "cdma_evdo_ncell_info_t25"
},
[26] = {
codec = {
length = 36,
name = "IBILteCellInfoV1T",
},
type_desc = "lte_scell_info_ext_t26"
},
[27] = {
codec = {
length = 12,
name = "IBILteNeighborCellInfoV1T",
},
type_desc = "lte_ncell_info_ext_t27"
},
},
},
[777] = {
name = "IBINetCaConfigIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_of_bands_per_bc_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "band_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "bw_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_of_mimo_layers_t5"
},
[6] = {
codec = {
length = 8,
name = "IBIPlmn",
},
type_desc = "plmn_id_t6"
},
},
},
[784] = {
name = "IBINetCellBBSignatureInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 44,
name = "IBINetCellBBSlocInfo",
},
type_desc = "sloc_info_t2"
},
},
},
[800] = {
name = "IBIMsAccCurrentFreqInfoIndCb",
mtlvs = {1, 2, 4, 5, 6, 7, 8, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "status_t2"
},
[4] = {
codec = {
length = 52,
name = "IBIAccServingDLFreqBandwidthInfo",
},
type_desc = "dl_freq_info_t4"
},
[5] = {
codec = {
length = 28,
name = "IBIAccServingULFreqBandwidthInfo",
},
type_desc = "ul_freq_info_t5"
},
[6] = {
codec = {
length = 244,
name = "IBIAccSearchFreqBandwidthInfo",
},
type_desc = "search_freq_info_t6"
},
[7] = {
codec = {
length = 772,
name = "IBIAccHoppingFreqBandwidthInfo",
},
type_desc = "hopping_freq_info_t7"
},
[8] = {
codec = {
length = 1204,
name = "IBIAccNeighborFreqBandwidthInfo",
},
type_desc = "neighbor_freq_info_t8"
},
[9] = {
codec = {
length = 844,
name = "IBIAccRPLMNFreqBandwidthInfo",
},
type_desc = "rplmn_freq_info_t9"
},
[10] = {
codec = {
length = 124,
name = "IBIAccServingDLFreqBandwidthInfo_ext",
},
type_desc = "dl_freq_info_ext_t10"
},
[11] = {
codec = {
length = 124,
name = "IBIAccServingULFreqBandwidthInfo_ext",
},
type_desc = "ul_freq_info_ext_t11"
},
},
},
[803] = {
name = "IBINetGetEmergencyCellIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBINetEmergencyCellInfoResult",
},
type_desc = "procedure_result_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "rat_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ps_reg_status_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "cs_reg_status_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ims_emergency_bearer_t6"
},
},
},
[805] = {
name = "IBINetCellLteAcBarringStatusIndCb",
mtlvs = {1, 2, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "barring_info_type_t2"
},
[3] = {
codec = {
length = 8,
name = "IBINetCellLteAcBarringStatusInfo",
},
type_desc = "emergency_barring_t3"
},
[4] = {
codec = {
length = 8,
name = "IBINetCellLteAcBarringStatusInfo",
},
type_desc = "mo_data_barring_t4"
},
[5] = {
codec = {
length = 8,
name = "IBINetCellLteAcBarringStatusInfo",
},
type_desc = "mo_signaling_barring_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetCellLteAcBarringStatusIndTrigger",
},
type_desc = "ind_trigger_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_barring_mmtel_voice_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_barring_mmtel_video_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "skip_barring_sms_t9"
},
},
},
[806] = {
name = "IBINetTimerInfoIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBINetTimerId",
},
type_desc = "timer_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "timer_value_t3"
},
},
},
[807] = {
name = "IBINetEmergencyCellSearchFailIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBINetEmergencyCellSearchFailCause",
},
type_desc = "cause_t2"
},
},
},
[808] = {
name = "IBINetRrcConnectionRejectIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "cause_t2"
},
},
},
},
[10] = {
["name"] = "_ARIMSGDEF_GROUP10_net_dc_ims",
[257] = {
name = "IBINetDcImsProvideImsRegStatusInfo",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetDcImsRegistrationStatus",
},
type_desc = "ims_voice_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetDcImsRegistrationStatus",
},
type_desc = "ims_sms_t4"
},
},
},
[258] = {
name = "IBINetDcImsGetImsRegStatusInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[259] = {
name = "IBINetDcSsacBarringInfoReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[260] = {
name = "IBINetDcSetVoiceDomainPreferenceConfigReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isUtranValid_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetDcVoiceDomainPreference",
},
type_desc = "utranVoiceDomainPreference_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isEUtranValid_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetDcVoiceDomainPreference",
},
type_desc = "eUtranVoiceDomainPreference_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isRoamingUtranValid_t7"
},
[8] = {
codec = {
length = 4,
name = "IBINetDcVoiceDomainPreference",
},
type_desc = "utranRoamingVoiceDomainPreference_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isRoamingEUtranValid_t9"
},
[10] = {
codec = {
length = 4,
name = "IBINetDcVoiceDomainPreference",
},
type_desc = "eUtranRoamingVoiceDomainPreference_t10"
},
},
},
[262] = {
name = "IBINetDcImsRegistrationStatusInfoReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetDcImsRegistrationType",
},
type_desc = "reg_type_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetDcImsServiceType",
},
type_desc = "service_type_t4"
},
[5] = {
codec = {
length = 4,
name = "IBINetDcImsRegistrationState",
},
type_desc = "reg_state_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetTimerStatus",
},
type_desc = "throttling_timer_status_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "throttling_timer_value_t7"
},
},
},
[263] = {
name = "IBINetDcImsSignallingStatusInfoReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetDcImsSessionStatus",
},
type_desc = "session_status_t3"
},
},
},
[513] = {
name = "IBINetDcImsProvideImsRegStatusRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[514] = {
name = "IBINetDcImsGetImsRegStatusInfoRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetDcImsRegistrationStatus",
},
type_desc = "ims_voice_t3"
},
[4] = {
codec = {
length = 4,
name = "IBINetDcImsRegistrationStatus",
},
type_desc = "ims_sms_t4"
},
},
},
[515] = {
name = "IBINetDcSsacBarringInfoRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBINetDcSsacBarringInfoResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 8,
name = "IBINetDcSsacBarringConfig",
},
type_desc = "ssac_barring_info_for_voice_t4"
},
[5] = {
codec = {
length = 8,
name = "IBINetDcSsacBarringConfig",
},
type_desc = "ssac_barring_info_for_video_t5"
},
},
},
[516] = {
name = "IBINetDcSetVoiceDomainPreferenceConfigRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[518] = {
name = "IBINetDcImsRegistrationStatusInfoRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[519] = {
name = "IBINetDcImsSignallingStatusInfoRspcb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[770] = {
name = "IBINetDcSsacBarringInfoIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBINetDcSsacBarringConfig",
},
type_desc = "ssac_barring_info_for_voice_t2"
},
[3] = {
codec = {
length = 8,
name = "IBINetDcSsacBarringConfig",
},
type_desc = "ssac_barring_info_for_video_t3"
},
},
},
},
[11] = {
["name"] = "_ARIMSGDEF_GROUP11_sim_access",
[257] = {
name = "IBISimAccessApduCmdReq",
mtlvs = {1, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "client_cookie_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "file_id_t5"
},
[6] = {
codec = {
length = 10,
name = "IBISimPathArray",
},
type_desc = "path_t6"
},
[7] = {
codec = {
length = 272,
name = "IBISimAccessApduCmdReqData",
},
type_desc = "apdu_t7"
},
},
},
[258] = {
name = "IBISimAccessGetSimDataReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[261] = {
name = "IBISimApplicationReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimApplicationActivity",
},
type_desc = "activity_t3"
},
[4] = {
codec = {
length = 17,
name = "IBISimApplicationId",
},
type_desc = "app_id_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t5"
},
},
},
[262] = {
name = "IBISimAccessFcpReq",
mtlvs = {1, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "file_id_t5"
},
[6] = {
codec = {
length = 10,
name = "IBISimPathArray",
},
type_desc = "path_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "min_rec_count_for_search_t7"
},
[8] = {
codec = {
length = 4,
name = "IBISimAccessSearchPatern",
},
type_desc = "search_pattern_t8"
},
},
},
[263] = {
name = "IBISimTestReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "test_cmd_len_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "test_cmd_t4"
},
},
},
[265] = {
name = "IBISimGetEccListReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[266] = {
name = "IBISimGetFullAccessStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[272] = {
name = "IBISimAccessReadRecordReq",
mtlvs = {1, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "file_id_t5"
},
[6] = {
codec = {
length = 10,
name = "IBISimPathArray",
},
type_desc = "path_t6"
},
[7] = {
codec = {
length = 12,
name = "IBISimAccessReadRecReqData",
},
type_desc = "read_rec_t7"
},
},
},
[274] = {
name = "IBISimFileReadBinaryReq",
mtlvs = {1, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "file_id_t5"
},
[6] = {
codec = {
length = 10,
name = "IBISimPathArray",
},
type_desc = "path_t6"
},
[7] = {
codec = {
length = 4,
name = "IBISimFileReadBinReqData",
},
type_desc = "read_bin_t7"
},
},
},
[275] = {
name = "IBISimFileUpdateBinaryReq",
mtlvs = {1, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "file_id_t5"
},
[6] = {
codec = {
length = 10,
name = "IBISimPathArray",
},
type_desc = "path_t6"
},
[7] = {
codec = {
length = 3588,
name = "IBISimFileUpdateBinReqData",
},
type_desc = "update_bin_t7"
},
},
},
[276] = {
name = "IBISimGetPlmnModeBitReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[277] = {
name = "IBISimFileGetCdmaAuxInfoReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdmaAuxInfoMask_t3"
},
},
},
[278] = {
name = "IBISimFileSearchRecordReq",
mtlvs = {1, 5, 6, 7, 10, 11},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "client_cookie_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "file_id_t5"
},
[6] = {
codec = {
length = 10,
name = "IBISimPathArray",
},
type_desc = "path_t6"
},
[7] = {
codec = {
length = 4,
name = "IBISimFileSearchModeOption",
},
type_desc = "search_opt_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "rec_no_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "search_offset_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "search_string_length_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "search_string_t11"
},
},
},
[513] = {
name = "IBISimAccessApduCmdRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimGenResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimApduCmdResultType",
},
type_desc = "uicc_result_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sw1_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sw2_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "client_cookie_t8"
},
[9] = {
codec = {
length = 788,
name = "IBISimAccessApduCmdRspData",
},
type_desc = "apdu_t9"
},
},
},
[514] = {
name = "IBISimAccessGetSimDataRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimAccessSimState",
},
type_desc = "sim_state_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimAccessCardType",
},
type_desc = "card_type_t4"
},
[13] = {
codec = {
length = 564,
name = "IBISimAccessAppInfoParam",
},
type_desc = "app_info_t13"
},
[17] = {
codec = {
length = 4,
name = "IBISimIndicator",
},
type_desc = "sim_indicator_t17"
},
[19] = {
codec = {
length = 4,
name = "IBISimChvStatus",
},
type_desc = "chv1_status_t19"
},
[21] = {
codec = {
length = 4,
name = "IBISimChvAttempts",
},
type_desc = "chv_attempts_t21"
},
[27] = {
codec = {
length = 4,
name = "IBISimUpdateStatus",
},
type_desc = "sim_init_error_cause_t27"
},
[28] = {
codec = {
length = 4,
name = "IBISimErrorCause",
},
type_desc = "sim_error_cause_t28"
},
[29] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_ext_capabilities_t29"
},
[30] = {
codec = {
length = 84,
name = "IBISimAccessAppInfoParamExt",
},
type_desc = "app_info_ext_t30"
},
[31] = {
codec = {
length = 4,
name = "IBISimAccessCardTypeInfo",
},
type_desc = "cardTypeInfo_t31"
},
[32] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "iccid_t32"
},
},
},
[517] = {
name = "IBISimApplicationRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimApplicationActivity",
},
type_desc = "activity_t4"
},
},
},
[518] = {
name = "IBISimAccessFcpRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimGenResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimApduCmdResultType",
},
type_desc = "uicc_result_t5"
},
[9] = {
codec = {
length = 1756,
name = "IBISimFcpInfo",
},
type_desc = "fcp_info_t9"
},
[10] = {
codec = {
length = 510,
name = "IBISimSearchRecordInfo",
},
type_desc = "search_rec_info_t10"
},
},
},
[519] = {
name = "IBISimTestRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimSupportedTestCmdType",
},
type_desc = "cmd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimGenResType",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimApduCmdResultType",
},
type_desc = "uicc_result_t5"
},
[6] = {
codec = {
length = 257,
name = "IBISimReadCardRspParam",
},
type_desc = "read_card_param_t6"
},
[7] = {
codec = {
length = 4,
name = "IBISimReadRplmnRspParam",
},
type_desc = "read_rplmn_param_t7"
},
},
},
[521] = {
name = "IBISimGetEccListRspCb",
mtlvs = {1, 3, 5, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_list_sim_length_t3"
},
[4] = {
codec = {
length = 8,
name = "IBIEmergencyNumber",
},
type_desc = "ecc_list_sim_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_list_nw_length_t5"
},
[6] = {
codec = {
length = 8,
name = "IBIEmergencyNumber",
},
type_desc = "ecc_list_nw_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_list_cust_length_t7"
},
[8] = {
codec = {
length = 8,
name = "IBIEmergencyNumber",
},
type_desc = "ecc_list_cust_t8"
},
},
},
[522] = {
name = "IBISimGetFullAccessStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "full_access_granted_t3"
},
},
},
[528] = {
name = "IBISimAccessReadRecordRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimGenResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimApduCmdResultType",
},
type_desc = "uicc_result_t5"
},
[9] = {
codec = {
length = 262,
name = "IBISimAccessReadRecRspData",
},
type_desc = "read_rec_t9"
},
},
},
[530] = {
name = "IBISimFileReadBinaryRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 20,
name = "IBISimAccessFileInfoRspParam",
},
type_desc = "f_info_t3"
},
[4] = {
codec = {
length = 3588,
name = "IBISimFileReadBinRspData",
},
type_desc = "read_bin_t4"
},
},
},
[531] = {
name = "IBISimFileUpdateBinaryRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 20,
name = "IBISimAccessFileInfoRspParam",
},
type_desc = "f_info_t3"
},
},
},
[532] = {
name = "IBISimGetPlmnModeBitRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimEfAccessResType",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimEfAccessErrorCause",
},
type_desc = "error_cause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_manual_sel_allowed_t5"
},
},
},
[533] = {
name = "IBISimFileGetCdmaAuxInfoRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cdma_aux_info_mask_t3"
},
[4] = {
codec = {
length = 10,
name = "IBISimFileMin",
},
type_desc = "min_type_t4"
},
[5] = {
codec = {
length = 1169,
name = "IBISimFileSipNaiData",
},
type_desc = "sip_nai_data_t5"
},
[6] = {
codec = {
length = 1169,
name = "IBISimFileMipNaiData",
},
type_desc = "mip_nai_data_t6"
},
[7] = {
codec = {
length = 73,
name = "IBISimFileEhrpdNaiData",
},
type_desc = "ehrpd_nai_data_t7"
},
[8] = {
codec = {
length = 73,
name = "IBISimFileHrpdNaiData",
},
type_desc = "hrpd_nai_data_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "prl_version_t9"
},
[10] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "prl_id_t10"
},
},
},
[534] = {
name = "IBISimFileSearchRecordRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 20,
name = "IBISimAccessFileInfoRspParam",
},
type_desc = "f_info_t3"
},
[4] = {
codec = {
length = 257,
name = "IBISimFileSearchRecRspData",
},
type_desc = "search_rsp_t4"
},
},
},
[771] = {
name = "IBISimFullAccessIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[774] = {
name = "IBISimEccListIndCb",
mtlvs = {1, 2, 4, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_list_sim_length_t2"
},
[3] = {
codec = {
length = 8,
name = "IBIEmergencyNumber",
},
type_desc = "ecc_list_sim_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_list_nw_length_t4"
},
[5] = {
codec = {
length = 8,
name = "IBIEmergencyNumber",
},
type_desc = "ecc_list_nw_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ecc_list_cust_length_t6"
},
[7] = {
codec = {
length = 8,
name = "IBIEmergencyNumber",
},
type_desc = "ecc_list_cust_t7"
},
},
},
[776] = {
name = "IBISimAccessGetSimDataIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimAccessSimState",
},
type_desc = "sim_state_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimAccessCardType",
},
type_desc = "card_type_t3"
},
[7] = {
codec = {
length = 4,
name = "IBISimIndicator",
},
type_desc = "sim_indicator_t7"
},
[15] = {
codec = {
length = 564,
name = "IBISimAccessAppInfoParam",
},
type_desc = "app_info_t15"
},
[18] = {
codec = {
length = 4,
name = "IBISimChvStatus",
},
type_desc = "chv1_status_t18"
},
[20] = {
codec = {
length = 4,
name = "IBISimChvAttempts",
},
type_desc = "chv_attempts_t20"
},
[26] = {
codec = {
length = 4,
name = "IBISimUpdateStatus",
},
type_desc = "sim_init_error_cause_t26"
},
[27] = {
codec = {
length = 4,
name = "IBISimErrorCause",
},
type_desc = "sim_error_cause_t27"
},
[28] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_ext_capabilities_t28"
},
[29] = {
codec = {
length = 84,
name = "IBISimAccessAppInfoParamExt",
},
type_desc = "app_info_ext_t29"
},
[30] = {
codec = {
length = 4,
name = "IBISimAccessCardTypeInfo",
},
type_desc = "cardTypeInfo_t30"
},
[31] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "iccid_t31"
},
},
},
[777] = {
name = "IBISimPlmnModeBitIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_manual_sel_allowed_t2"
},
},
},
[778] = {
name = "IBISimHwEventIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimHwEvent",
},
type_desc = "event_t2"
},
},
},
[779] = {
name = "IBISimCdmaFullAccessIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
},
[12] = {
["name"] = "_ARIMSGDEF_GROUP12_sim_sec",
[257] = {
name = "IBISimGenPinReq",
mtlvs = {1, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimPinActivity",
},
type_desc = "activity_t4"
},
[5] = {
codec = {
length = 20,
name = "IBISimGenPinReqUnblockData",
},
type_desc = "unblock_data_t5"
},
[6] = {
codec = {
length = 20,
name = "IBISimGenPinReqChangeData",
},
type_desc = "change_data_t6"
},
[8] = {
codec = {
length = 12,
name = "IBISimGenPinReqEnableData",
},
type_desc = "enable_data_t8"
},
[9] = {
codec = {
length = 12,
name = "IBISimGenPinReqDisableData",
},
type_desc = "disable_data_t9"
},
[10] = {
codec = {
length = 12,
name = "IBISimGenPinReqVerifyData",
},
type_desc = "verify_data_t10"
},
},
},
[263] = {
name = "IBISimExtendedAuthReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimSecurityContext",
},
type_desc = "security_context_t3"
},
[4] = {
codec = {
length = 17,
name = "IBISimSecRand",
},
type_desc = "rand_t4"
},
[5] = {
codec = {
length = 17,
name = "IBISimSecAutn",
},
type_desc = "autn_t5"
},
[6] = {
codec = {
length = 256,
name = "IBISimSecNafid",
},
type_desc = "naf_id_t6"
},
[7] = {
codec = {
length = 256,
name = "IBISimSecImpi",
},
type_desc = "impi_t7"
},
},
},
[513] = {
name = "IBISimGenPinRspCb",
mtlvs = {1, 4, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "channel_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimPinActivity",
},
type_desc = "activity_t4"
},
[6] = {
codec = {
length = 4,
name = "IBISimPinStatus",
},
type_desc = "status_t6"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "verify_attempts_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "unblock_attempts_t10"
},
[11] = {
codec = {
length = 4,
name = "IBISimGenPinResType",
},
type_desc = "result_t11"
},
},
},
[519] = {
name = "IBISimExtendedAuthRspCb",
mtlvs = {1, 3, 4, 8, 10, 12, 14, 16, 18},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimSecurityContext",
},
type_desc = "security_context_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimAuthResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimApduCmdResultType",
},
type_desc = "uicc_result_t5"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "res_available_t8"
},
[9] = {
codec = {
length = 17,
name = "IBISimSecAuthRsp",
},
type_desc = "res_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ck_available_t10"
},
[11] = {
codec = {
length = 17,
name = "IBISimSecAuthCipheringKey",
},
type_desc = "ck_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ik_available_t12"
},
[13] = {
codec = {
length = 17,
name = "IBISimSecAuthIntegrityKey",
},
type_desc = "ik_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "kc_available_t14"
},
[15] = {
codec = {
length = 9,
name = "IBISimSecAuthKc",
},
type_desc = "kc_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "auts_available_t16"
},
[17] = {
codec = {
length = 15,
name = "IBISimSecAuthAuts",
},
type_desc = "auts_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "ks_ext_naf_available_t18"
},
[19] = {
codec = {
length = 256,
name = "IBISimSecAuthKsExtNaf",
},
type_desc = "ks_ext_naf_t19"
},
},
},
},
[13] = {
["name"] = "_ARIMSGDEF_GROUP13_sim_tk",
[258] = {
name = "IBISimTkInit",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[260] = {
name = "IBISimTkRefreshConfirmRsp",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cmd_id_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "transaction_id_t3"
},
},
},
[261] = {
name = "IBISimTkRefreshFcnRsp",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimTkProactiveCause",
},
type_desc = "proactive_cause_t2"
},
[3] = {
codec = {
length = 2,
name = "IBISimTkTransactionId",
},
type_desc = "simtk_transaction_id_t3"
},
},
},
[262] = {
name = "IBISimTkRefreshQueryRsp",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimTkProactiveCause",
},
type_desc = "proactive_cause_t2"
},
[3] = {
codec = {
length = 2,
name = "IBISimTkTransactionId",
},
type_desc = "simtk_transaction_id_t3"
},
},
},
[263] = {
name = "IBISimTkImsCallControlReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 257,
name = "IBISimTkImsCcData",
},
type_desc = "ims_cc_data_t3"
},
},
},
[264] = {
name = "IBISimTkConfigureStkCmdReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "setup_call_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_sms_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_ss_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_ussd_t5"
},
[6] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_dtmf_t6"
},
},
},
[265] = {
name = "IBISimTkEnvelopeCommandReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimTkEnvelopeType",
},
type_desc = "envelope_type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "item_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "request_help_t5"
},
[6] = {
codec = {
length = 276,
name = "IBISimTkCallControlParam",
},
type_desc = "call_control_param_t6"
},
[9] = {
codec = {
length = 24,
name = "IBISimTkLocationInfo",
},
type_desc = "location_info_t9"
},
[11] = {
codec = {
length = 42,
name = "IBISimTkAddress",
},
type_desc = "address1_t11"
},
[12] = {
codec = {
length = 42,
name = "IBISimTkAddress",
},
type_desc = "address2_t12"
},
[13] = {
codec = {
length = 24,
name = "IBISimTkLocationInfo",
},
type_desc = "location_info_t13"
},
[14] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "transaction_id_t14"
},
[15] = {
codec = {
length = 42,
name = "IBISimTkAddress",
},
type_desc = "address_t15"
},
[17] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "transaction_id_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "call_direction_t18"
},
[19] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_trans_id_t19"
},
[20] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "transaction_id_t20"
},
[24] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "language_t24"
},
[25] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_near_end_disconnect_t25"
},
[32] = {
codec = {
length = 249,
name = "IBISimTkImsRegistrationStatus",
},
type_desc = "ims_reg_status_t32"
},
},
},
[266] = {
name = "IBISimTkTerminalResponse",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdType",
},
type_desc = "cmd_type_t2"
},
[3] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "setup_event_list_t3"
},
[4] = {
codec = {
length = 1068,
name = "IBISimTkSetupCallRspParam",
},
type_desc = "setup_call_t4"
},
[5] = {
codec = {
length = 1068,
name = "IBISimTkSendSsRspParam",
},
type_desc = "send_ss_t5"
},
[6] = {
codec = {
length = 1068,
name = "IBISimTkSendUssdRspParam",
},
type_desc = "send_ussd_t6"
},
[7] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "send_sms_t7"
},
[8] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "send_dtmf_t8"
},
[9] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "play_tone_t9"
},
[10] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "display_text_t10"
},
[11] = {
codec = {
length = 268,
name = "IBISimTkGetInkeyRspParam",
},
type_desc = "get_inkey_t11"
},
[12] = {
codec = {
length = 268,
name = "IBISimTkGetInputRspParam",
},
type_desc = "get_input_t12"
},
[13] = {
codec = {
length = 12,
name = "IBISimTkSelectItemRspParam",
},
type_desc = "select_item_t13"
},
[14] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "setup_menu_t14"
},
[15] = {
codec = {
length = 24,
name = "IBISimTkProvideLocalInfoRspParam",
},
type_desc = "provide_local_info_t15"
},
[16] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "setup_idle_mode_text_t16"
},
[17] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "language_notification_t17"
},
[18] = {
codec = {
length = 264,
name = "IBISimTkRunAtCommandRspParam",
},
type_desc = "run_at_command_t18"
},
[19] = {
codec = {
length = 260,
name = "IBISimTkUnknownCmdRsp",
},
type_desc = "unknown_cmd_t19"
},
[20] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "common_response_t20"
},
[21] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "common_response_t21"
},
[22] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "common_response_t22"
},
[23] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "common_response_t23"
},
},
},
[267] = {
name = "IBISimTkSetRequiredFcnListReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "file_list_length_t3"
},
[4] = {
codec = {
length = 21,
name = "IBISimTkFileIdentifier",
},
type_desc = "file_list_t4"
},
},
},
[268] = {
name = "IBISimTkExecStkCmdRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBISimTkCommonRspParam",
},
type_desc = "common_response_t2"
},
},
},
[519] = {
name = "IBISimTkImsCallControlRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimTkCallControlResult",
},
type_desc = "call_control_result_t3"
},
[4] = {
codec = {
length = 257,
name = "IBISimTkImsCcData",
},
type_desc = "ims_cc_data_t4"
},
[5] = {
codec = {
length = 248,
name = "IBISimTkAlphaIdentifier",
},
type_desc = "alpha_identifier_t5"
},
},
},
[520] = {
name = "IBISimTkConfigureStkCmdRspCb",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "setup_call_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_sms_t5"
},
[6] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_ss_t6"
},
[7] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_ussd_t7"
},
[8] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdHandler",
},
type_desc = "send_dtmf_t8"
},
},
},
[521] = {
name = "IBISimTkEnvelopeCommandRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 952,
name = "IBISimTkEnvelopeRsp",
},
type_desc = "envelope_rsp_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimApduCmdResultType",
},
type_desc = "uicc_result_t4"
},
},
},
[523] = {
name = "IBISimTkSetRequiredFcnListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
},
},
[771] = {
name = "IBISimTkExecStkCmdIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdType",
},
type_desc = "cmd_type_t2"
},
[3] = {
codec = {
length = 2,
name = "IBISimTkTransactionId",
},
type_desc = "simtk_transaction_id_t3"
},
[4] = {
codec = {
length = 248,
name = "IBISimTkAlphaIdentifier",
},
type_desc = "confirmation_alpha_id_t4"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "command_qualifier_t6"
},
[8] = {
codec = {
length = 42,
name = "IBISimTkAddress",
},
type_desc = "destination_address_t8"
},
[9] = {
codec = {
length = 41,
name = "IBISimTkSubAddress",
},
type_desc = "sub_address_t9"
},
[10] = {
codec = {
length = 248,
name = "IBISimTkAlphaIdentifier",
},
type_desc = "setup_alpha_id_t10"
},
[12] = {
codec = {
length = 41,
name = "IBISimTkDtmfString",
},
type_desc = "dtmf_command_t12"
},
[13] = {
codec = {
length = 188,
name = "IBISimTkUssdString",
},
type_desc = "ussd_string_t13"
},
[14] = {
codec = {
length = 42,
name = "IBISimTkSsString",
},
type_desc = "ss_string_t14"
},
},
},
[772] = {
name = "IBISimTkProactiveCmdIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimTkProactiveCmdType",
},
type_desc = "cmd_type_t2"
},
[3] = {
codec = {
length = 34,
name = "IBISimTkProactiveCmdSetupEventList",
},
type_desc = "setup_eventlist_t3"
},
[4] = {
codec = {
length = 636,
name = "IBISimTkProactiveCmdSetupCall",
},
type_desc = "setup_call_t4"
},
[5] = {
codec = {
length = 308,
name = "IBISimTkProactiveCmdSendSs",
},
type_desc = "send_ss_t5"
},
[6] = {
codec = {
length = 452,
name = "IBISimTkProactiveCmdSendUssd",
},
type_desc = "send_ussd_t6"
},
[7] = {
codec = {
length = 484,
name = "IBISimTkProactiveCmdSendSms",
},
type_desc = "send_sms_t7"
},
[8] = {
codec = {
length = 308,
name = "IBISimTkProactiveCmdSendDtmf",
},
type_desc = "send_dtmf_t8"
},
[9] = {
codec = {
length = 276,
name = "IBISimTkProactiveCmdPlayTone",
},
type_desc = "play_tone_t9"
},
[10] = {
codec = {
length = 284,
name = "IBISimTkProactiveCmdDisplayText",
},
type_desc = "display_text_t10"
},
[11] = {
codec = {
length = 280,
name = "IBISimTkProactiveCmdGetInkey",
},
type_desc = "get_inkey_t11"
},
[12] = {
codec = {
length = 532,
name = "IBISimTkProactiveCmdGetInput",
},
type_desc = "get_input_t12"
},
[13] = {
codec = {
length = 548,
name = "IBISimTkProactiveCmdSelectItem",
},
type_desc = "select_item_t13"
},
[14] = {
codec = {
length = 548,
name = "IBISimTkProactiveCmdSetupMenu",
},
type_desc = "setup_menu_t14"
},
[15] = {
codec = {
length = 8,
name = "IBISimTkProactiveCmdProvideLocalInfo",
},
type_desc = "provide_local_info_t15"
},
[16] = {
codec = {
length = 272,
name = "IBISimTkProactiveCmdSetupIdleModeText",
},
type_desc = "setup_idle_mode_text_t16"
},
[17] = {
codec = {
length = 5,
name = "IBISimTkProactiveCmdLanguageNotification",
},
type_desc = "language_notification_t17"
},
[18] = {
codec = {
length = 520,
name = "IBISimTkProactiveCmdRunAt",
},
type_desc = "run_at_command_t18"
},
[19] = {
codec = {
length = 260,
name = "IBISimTkProactiveCmdUnknown",
},
type_desc = "unknown_cmd_t19"
},
[20] = {
codec = {
length = 268,
name = "IBISimTkProactiveCmdOpenChannel",
},
type_desc = "open_channel_t20"
},
[21] = {
codec = {
length = 268,
name = "IBISimTkProactiveCmdCloseChannel",
},
type_desc = "close_channel_t21"
},
[22] = {
codec = {
length = 268,
name = "IBISimTkProactiveCmdReceiveData",
},
type_desc = "receive_data_t22"
},
[23] = {
codec = {
length = 268,
name = "IBISimTkProactiveCmdSendData",
},
type_desc = "send_data_t23"
},
[24] = {
codec = {
length = 780,
name = "IBISimTkProactiveCmdSelectItem_V1",
},
type_desc = "select_item_V1_t24"
},
[25] = {
codec = {
length = 780,
name = "IBISimTkProactiveCmdSetupMenu_V1",
},
type_desc = "setup_menu_V1_t25"
},
[26] = {
codec = {
length = 540,
name = "IBISimTkProactiveCmdGetInput_V1",
},
type_desc = "get_input_V1_t26"
},
[27] = {
codec = {
length = 748,
name = "IBISimTkProactiveCmdSendSms_V1",
},
type_desc = "send_sms_V1_t27"
},
},
},
[774] = {
name = "IBISimTkRefreshConfirmIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "IBISimTkTransactionId",
},
type_desc = "simtk_transaction_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "refresh_performed_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimAccessAppType",
},
type_desc = "app_type_t4"
},
},
},
[777] = {
name = "IBISimTkRefreshFcnIndCb",
mtlvs = {1, 2, 3, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "IBISimTkTransactionId",
},
type_desc = "simtk_transaction_id_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "file_count_t3"
},
[4] = {
codec = {
length = 21,
name = "IBISimTkFileIdentifier",
},
type_desc = "file_list_t4"
},
[5] = {
codec = {
length = 17,
name = "IBISimApplicationId",
},
type_desc = "app_id_t5"
},
[6] = {
codec = {
length = 4,
name = "IBISimAccessAppType",
},
type_desc = "app_type_t6"
},
},
},
[778] = {
name = "IBISimTkRefreshQueryIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "IBISimTkTransactionId",
},
type_desc = "simtk_transaction_id_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "command_qualifier_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "file_count_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISimAccessAppType",
},
type_desc = "app_type_t5"
},
},
},
},
[14] = {
["name"] = "_ARIMSGDEF_GROUP14_sim_pb",
[258] = {
name = "IBISimPbReadEntryReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbLocation",
},
type_desc = "location_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "record_number_t4"
},
},
},
[261] = {
name = "IBISimPbWriteEntryReq",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbLocation",
},
type_desc = "location_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "uid_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "next_valid_rec_number_t5"
},
[6] = {
codec = {
length = 300,
name = "IBISimPbBaseEntry",
},
type_desc = "pb_base_data_t6"
},
[7] = {
codec = {
length = 486,
name = "IBISimPbUsimEntry",
},
type_desc = "usim_data_t7"
},
[8] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "slice_t8"
},
},
},
[263] = {
name = "IBISimPbGetMetaInformationReq_V1",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbLocationInfo",
},
type_desc = "location_request_t3"
},
},
},
[264] = {
name = "IBISimPbLocationReq_V1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[265] = {
name = "IBISimPbUsimPbSelectReq_V1",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbUsimPbLocation",
},
type_desc = "usim_pb_location_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "fill_cache_t4"
},
},
},
[514] = {
name = "IBISimPbReadEntryRspCb",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimPbLocation",
},
type_desc = "location_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "uid_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "next_valid_rec_number_t6"
},
[7] = {
codec = {
length = 300,
name = "IBISimPbBaseEntry",
},
type_desc = "pb_base_data_t7"
},
[8] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "slice_t8"
},
[9] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "valid_flags_t9"
},
[10] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "grp_index_list_t10"
},
[11] = {
codec = {
length = 2,
name = "IBISimPbControlRecord",
},
type_desc = "pbc_t11"
},
[12] = {
codec = {
length = 1,
name = "IBISimPbEccValue",
},
type_desc = "ecc_category_t12"
},
},
},
[517] = {
name = "IBISimPbWriteEntryRspCb",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBISimPbLocation",
},
type_desc = "location_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "uid_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "valid_flags_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "record_number_t7"
},
},
},
[519] = {
name = "IBISimPbGetMetaInformationRspCb_V1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[520] = {
name = "IBISimPbGetLocationRspCb_V1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[521] = {
name = "IBISimPbUsimPbSelectRspCb_V1",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[769] = {
name = "IBISimPbUsimPbReadyIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimPbUsimPbLocation",
},
type_desc = "usim_pb_location_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t3"
},
},
},
[770] = {
name = "IBISimPbCacheLoadIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimPbCacheStatus",
},
type_desc = "cacheStatus_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t3"
},
},
},
[774] = {
name = "IBISimPbGetMetaInformationIndCb_V1",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 120,
name = "IBISimPb2gDescriptor",
},
type_desc = "sim_phone_book_t3"
},
[4] = {
codec = {
length = 1008,
name = "IBISimPb3gDescriptor",
},
type_desc = "global_phone_book_t4"
},
[5] = {
codec = {
length = 1008,
name = "IBISimPb3gDescriptor",
},
type_desc = "local_phone_book_t5"
},
},
},
[775] = {
name = "IBISimPbLocationIndCb_V1",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbLocationInfo",
},
type_desc = "pb_location_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "usim_global_pb_exists_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "usim_appl_pb_exists_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "sim_2g_pb_cache_completed_t6"
},
},
},
[776] = {
name = "IBISimPbUsimPbSelectIndCb_V1",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimPbUsimPbLocation",
},
type_desc = "usim_pb_location_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimPbResult",
},
type_desc = "result_t3"
},
},
},
},
[15] = {
["name"] = "_ARIMSGDEF_GROUP15_cps",
[257] = {
name = "IBICpsConfigureCellularPowerReportReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "be_activated_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "reporting_period_t4"
},
},
},
[258] = {
name = "IBIMSimGetConfigReq",
mtlvs = {},
tlvs = {
},
},
[259] = {
name = "IBIMSimGetSimStackMappingReq",
mtlvs = {},
tlvs = {
},
},
[260] = {
name = "IBIMSimConfigReq",
mtlvs = {2, 3},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIMSimConfigMode",
},
type_desc = "mode_t2"
},
[3] = {
codec = {
length = 4,
name = "IBISimSlotId",
},
type_desc = "slot_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "power_both_slots_t4"
},
},
},
[261] = {
name = "IBICpsHealthActivityReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICpsHealthActivityType",
},
type_desc = "health_activity_type_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICpsHealthActivityStatus",
},
type_desc = "health_activity_status_t4"
},
[5] = {
codec = {
length = 4,
name = "IBICpsHealthActivityLocationType",
},
type_desc = "health_activity_location_type_t5"
},
[6] = {
codec = {
length = 4,
name = "IBICpsHealthActivitySwimLocationType",
},
type_desc = "health_activity_swim_location_type_t6"
},
},
},
[262] = {
name = "IBICpsSetCambioStateReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_cambio_state_t3"
},
},
},
[263] = {
name = "CsiMSimGetSimStackMappingStatusReq",
mtlvs = {},
tlvs = {
},
},
[264] = {
name = "IBIMSimSetCurrentDataSimReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIMSimSetCurrentDataSimCauseType",
},
type_desc = "cause_t3"
},
},
},
[513] = {
name = "IBICpsConfigureCellularPowerReportRsp",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[514] = {
name = "IBIMSimGetConfigRspCb",
mtlvs = {2, 3},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIMsimConfigStatus",
},
type_desc = "status_t2"
},
[3] = {
codec = {
length = 12,
name = "IBIMSimConfigParam",
},
type_desc = "config_t3"
},
},
},
[515] = {
name = "IBIMSimGetSimStackMappingRspCb",
mtlvs = {2, 3},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 20,
name = "IBIMSimSimStackMappingParam",
},
type_desc = "sim_stack_config_t3"
},
},
},
[516] = {
name = "IBIMSimConfigRspCb",
mtlvs = {2},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIMsimConfigStatus",
},
type_desc = "result_t2"
},
},
},
[517] = {
name = "IBICpsHealthActivityRsp",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[518] = {
name = "IBICpsSetCambioStateRsp",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[519] = {
name = "CsiMSimGetSimStackMappingStatusRspCb",
mtlvs = {2},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "sim_stack_mapping_status_t2"
},
},
},
[520] = {
name = "IBIMSimSetCurrentDataSimRsp",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[769] = {
name = "IBICpsCellularPowerReportInd",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tx_power_hist_duration_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICpsCellularPowerReportState",
},
type_desc = "power_state_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "tx_power_hist_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_voice_call_active_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cltm_max_power_percentile_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cltm_duty_cycle_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "cltm_ppm_mw_t9"
},
},
},
[770] = {
name = "IBIMSimRemapStatusIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIMSimRemapStatus",
},
type_desc = "status_t1"
},
},
},
[771] = {
name = "IBIMSimSimStackMappingIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_slot_id_length_t1"
},
[2] = {
codec = {
length = 4,
name = "IBISimSlotId",
},
type_desc = "sim_slot_id_t2"
},
},
},
[772] = {
name = "IBIMSimConfigIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIMsimConfigStatus",
},
type_desc = "status_t1"
},
[2] = {
codec = {
length = 12,
name = "IBIMSimConfigParam",
},
type_desc = "config_t2"
},
},
},
[773] = {
name = "IBICpsMaxCellularPowerForRatInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIRat",
},
type_desc = "serving_rat_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_serving_rat_tdd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "power_ceiling_mw_t4"
},
},
},
},
[16] = {
["name"] = "_ARIMSGDEF_GROUP16_call_cs_voims",
[257] = {
name = "IBICallCsVoimsSessionTransferReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "no_of_session_t3"
},
[4] = {
codec = {
length = 108,
name = "IBICallCsVoimsSessionInfo",
},
type_desc = "call_transfer_list_t4"
},
},
},
[258] = {
name = "IBIMsCallCsVoimsProvideMMTelSessionStatusReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICallCsVoimsMMTelSessionType",
},
type_desc = "session_type_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsVoimsMMTelSessionStatus",
},
type_desc = "session_status_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_emergency_t5"
},
},
},
[513] = {
name = "IBICallCsVoimsSessionTransferRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "no_of_valid_entry_t3"
},
[4] = {
codec = {
length = 8,
name = "IBICallCsVoimsSessionTransferResult",
},
type_desc = "transfer_result_t4"
},
},
},
[514] = {
name = "IBIMsCallCsVoimsProvideMMTelSessionStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[769] = {
name = "IBICallCsVoimsSrvccHoStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallCsVoimsSrvccHoStatus",
},
type_desc = "srvcc_ho_status_t2"
},
[3] = {
codec = {
length = 652,
name = "IBICallCsVoimsCallStatusParam",
},
type_desc = "call_status_info_t3"
},
},
},
[770] = {
name = "IBICallCsVoimsCallRetryInitiatedIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBICallCsVoimsRetryCause",
},
type_desc = "cause_t2"
},
},
},
[771] = {
name = "IBICallCsVoimsCallRetrySetupIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBICallCsCallId",
},
type_desc = "call_id_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "phone_no_t3"
},
[4] = {
codec = {
length = 4,
name = "IBICallCsType",
},
type_desc = "call_type_t4"
},
[5] = {
codec = {
length = 1,
name = "IBICallCsEccValue",
},
type_desc = "ecc_category_t5"
},
[6] = {
codec = {
length = 4,
name = "IBINetDcServiceDomain",
},
type_desc = "domain_t6"
},
},
},
[772] = {
name = "IBICallCsVoimsCallRetryFailureIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
},
[17] = {
["name"] = "_ARIMSGDEF_GROUP17_ims_me",
[257] = {
name = "IBIImsMEGetMediaCapabilityReq",
mtlvs = {3},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEMediaType",
},
type_desc = "media_type_t3"
},
},
},
[258] = {
name = "IBIImsMEStartMediaReq",
mtlvs = {3},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t3"
},
},
},
[259] = {
name = "IBIImsMEStopMediaReq",
mtlvs = {3},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t3"
},
},
},
[260] = {
name = "IBIImsMETerminateMediaSessionReq",
mtlvs = {3},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t3"
},
},
},
[261] = {
name = "IBIImsMEStartDTMFCodeReq",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMEDTMFCodes",
},
type_desc = "dtmf_code_t4"
},
},
},
[262] = {
name = "IBIImsMEStopDTMFCodeReq",
mtlvs = {3},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t3"
},
},
},
[263] = {
name = "IBIImsMECreateAudioMediaSessionReq",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9, 10},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "members_set_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "primary_pdp_cid_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "local_ip_length_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "local_ip_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "local_rtp_port_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIImsMEMediaDirection",
},
type_desc = "direction_t8"
},
[9] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "min_packetization_interval_t9"
},
[10] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "max_packetization_interval_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "active_rtp_payload_type_ul_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tel_event_payload_id_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIImsMEAudioChannelModes",
},
type_desc = "audio_channel_mode_t13"
},
[14] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_length_t14"
},
[15] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_t15"
},
[16] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "remote_rtp_port_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtp_timeout_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtcp_timeout_t18"
},
[19] = {
codec = {
length = 284,
name = "IBIImsMERtcpProfile",
},
type_desc = "rtcp_profile_t19"
},
[20] = {
codec = {
length = 12,
name = "IBIImsMEEcnAttr",
},
type_desc = "ecn_attr_t20"
},
[21] = {
codec = {
length = 12,
name = "IBIImsMERtpInfo",
},
type_desc = "rtp_session_info_t21"
},
[22] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "codecs_length_t22"
},
[23] = {
codec = {
length = 48,
name = "IBIImsMEAudioCodec",
},
type_desc = "codecs_t23"
},
[24] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "evs_codecs_length_t24"
},
[25] = {
codec = {
length = 80,
name = "IBIImsMEAudioEVSCodec",
},
type_desc = "evs_codecs_t25"
},
[26] = {
codec = {
length = 6,
name = "IBIImsMEEvsPrimaryCMR",
},
type_desc = "evs_ul_cmr_t26"
},
[27] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "enable_incoming_dtmf_t27"
},
[28] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "evs_max_redundancy_duration_t28"
},
[29] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "evs_start_br_ul_t29"
},
[30] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "evs_start_bw_ul_t30"
},
[31] = {
codec = {
length = 4,
name = "IBIImsMeRtcpXrProfile",
},
type_desc = "rtcp_xr_profile_t31"
},
},
},
[264] = {
name = "IBIImsMEConfigureAudioMediaReq",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "members_set_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "local_rtp_port_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIImsMEMediaDirection",
},
type_desc = "direction_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "min_packetization_interval_t7"
},
[8] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "max_packetization_interval_t8"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "active_rtp_payload_type_ul_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tel_event_payload_id_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIImsMEAudioChannelModes",
},
type_desc = "audio_channel_mode_t13"
},
[14] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_length_t14"
},
[15] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_t15"
},
[16] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "remote_rtp_port_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtp_timeout_t17"
},
[18] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtcp_timeout_t18"
},
[19] = {
codec = {
length = 284,
name = "IBIImsMERtcpProfile",
},
type_desc = "rtcp_profile_t19"
},
[20] = {
codec = {
length = 12,
name = "IBIImsMEEcnAttr",
},
type_desc = "ecn_attr_t20"
},
[21] = {
codec = {
length = 12,
name = "IBIImsMERtpInfo",
},
type_desc = "rtp_session_info_t21"
},
[22] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "codecs_length_t22"
},
[23] = {
codec = {
length = 48,
name = "IBIImsMEAudioCodec",
},
type_desc = "codecs_t23"
},
[24] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "evs_codecs_length_t24"
},
[25] = {
codec = {
length = 80,
name = "IBIImsMEAudioEVSCodec",
},
type_desc = "evs_codecs_t25"
},
[26] = {
codec = {
length = 6,
name = "IBIImsMEEvsPrimaryCMR",
},
type_desc = "evs_ul_cmr_t26"
},
[27] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "evs_max_redundancy_duration_t27"
},
[28] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "evs_start_br_ul_t28"
},
[29] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "evs_start_bw_ul_t29"
},
[30] = {
codec = {
length = 4,
name = "IBIImsMeRtcpXrProfile",
},
type_desc = "rtcp_xr_profile_t30"
},
},
},
[265] = {
name = "IBISipMessageInjectToCpTrace",
mtlvs = {3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBISipCallDirection",
},
type_desc = "direction_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "sdp_info_present_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISipMsgId",
},
type_desc = "message_id_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "response_code_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "app_call_id_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sip_call_id_len_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sip_call_id_t9"
},
[10] = {
codec = {
length = 4,
name = "IBISipEventId",
},
type_desc = "event_id_t10"
},
[11] = {
codec = {
length = 4,
name = "IBICallType",
},
type_desc = "call_type_t11"
},
[12] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "msg_length_t12"
},
[13] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "msg_t13"
},
},
},
[266] = {
name = "IBIImsMECreateRTTMediaSessionReq",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "members_set_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "primary_pdp_cid_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "local_ip_length_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "local_ip_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "local_rtp_port_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "active_rtp_payload_type_ul_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_length_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_t10"
},
[11] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "remote_rtp_port_t11"
},
[12] = {
codec = {
length = 284,
name = "IBIImsMERtcpProfile",
},
type_desc = "rtcp_profile_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "audio_media_session_id_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIImsMERttSessionTtyMode",
},
type_desc = "tty_mode_t14"
},
[15] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "codecs_length_t15"
},
[16] = {
codec = {
length = 16,
name = "IBIImsMERTTCodec",
},
type_desc = "codecs_t16"
},
},
},
[267] = {
name = "IBIImsMEConfigureRTTMediaReq",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "members_set_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "local_rtp_port_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "active_rtp_payload_type_ul_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_length_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "remote_ip_t8"
},
[9] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "remote_rtp_port_t9"
},
[10] = {
codec = {
length = 284,
name = "IBIImsMERtcpProfile",
},
type_desc = "rtcp_profile_t10"
},
[11] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "audio_media_session_id_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIImsMERttSessionTtyMode",
},
type_desc = "tty_mode_t12"
},
[13] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "codecs_length_t13"
},
[14] = {
codec = {
length = 16,
name = "IBIImsMERTTCodec",
},
type_desc = "codecs_t14"
},
},
},
[268] = {
name = "IBISipMsgInjectToCpIMSTraceReq",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBISipCallDirection",
},
type_desc = "direction_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "sdp_info_present_t4"
},
[5] = {
codec = {
length = 4,
name = "IBISipMsgId",
},
type_desc = "message_id_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "response_code_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "app_call_id_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sip_call_id_len_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sip_call_id_t9"
},
[10] = {
codec = {
length = 4,
name = "IBISipEventId",
},
type_desc = "event_id_t10"
},
[11] = {
codec = {
length = 4,
name = "IBICallType",
},
type_desc = "call_type_t11"
},
[12] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "msg_length_t12"
},
[13] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "msg_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "srvcc_flag_t14"
},
},
},
[513] = {
name = "IBIImsMEGetMediaCapabilityRspCb",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1692,
name = "IBIImsMEMediaCapability",
},
type_desc = "media_cap_t4"
},
},
},
[514] = {
name = "IBIImsMEStartMediaRspCb",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[515] = {
name = "IBIImsMEStopMediaRspCb",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[516] = {
name = "IBIImsMETerminateMediaSessionRspCb",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[517] = {
name = "IBIImsMEStartDTMFCodeRspCb",
mtlvs = {3, 4, 5},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIImsMEDTMFCodes",
},
type_desc = "dtmf_code_t5"
},
},
},
[518] = {
name = "IBIImsMEStopDTMFCodeRspCb",
mtlvs = {3, 4, 5},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIImsMEDTMFCodes",
},
type_desc = "dtmf_code_t5"
},
},
},
[519] = {
name = "IBIImsMECreateAudioMediaSessionRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[520] = {
name = "IBIImsMEConfigureAudioMediaRspCb",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[522] = {
name = "IBIImsMECreateRTTMediaSessionRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[523] = {
name = "IBIImsMEConfigureRTTMediaRspCb",
mtlvs = {3, 4},
tlvs = {
[3] = {
codec = {
length = 4,
name = "IBIImsMEResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t4"
},
},
},
[524] = {
name = "IBISipMsgInjectToCpIMSTraceRsbCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t3"
},
},
},
[769] = {
name = "IBIImsMEMediaSessionErrIndCb",
mtlvs = {2, 3},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIImsMEMediaSessionErrCodes",
},
type_desc = "status_t3"
},
},
},
[770] = {
name = "IBIImsMERtcpSenderReportIndCb",
mtlvs = {2, 3, 4, 5, 6, 7, 8, 9},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIImsMeRtcpSourceType",
},
type_desc = "source_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ssrc_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "hi_ntp_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lo_ntp_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtp_ts_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "pkts_sent_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "octets_sent_t9"
},
},
},
[771] = {
name = "IBIImsMERtcpReceiverReportIndCb",
mtlvs = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIImsMeRtcpSourceType",
},
type_desc = "source_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ssrc_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "s_ssrc_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "frac_lost_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "total_lost_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "last_seq_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "est_jittter_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "lsr_t10"
},
[11] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "dslr_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "rtt_t12"
},
},
},
[772] = {
name = "IBIImsMERtcpSDESReportIndCb",
mtlvs = {2, 3, 4, 5, 6, 7, 8},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIImsMESessionID",
},
type_desc = "media_session_id_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIImsMeRtcpSourceType",
},
type_desc = "source_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "final_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ssrc_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIImsMERtcpSdesItemType",
},
type_desc = "sdes_item_type_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sdes_item_len_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "sdes_item_t8"
},
},
},
},
[18] = {
["name"] = "_ARIMSGDEF_GROUP18_sys_res",
[257] = {
name = "CsiIdcGetCellConfigReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[258] = {
name = "CsiIdcSetRTConfigReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 20,
name = "UtaIdcRTConfig",
},
type_desc = "param_t2"
},
[3] = {
codec = {
length = 392,
name = "IBIIdcRTConfigEx",
},
type_desc = "param_t3"
},
},
},
[259] = {
name = "CsiIdcRTSetLinkQualityReportConfigReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "UtaIdcRTLinkQConfig",
},
type_desc = "param_t2"
},
},
},
[260] = {
name = "CsiIdcRTGetLinkQualityReportReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[261] = {
name = "CsiIdcRTSetScanFreqReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 96,
name = "UtaIdcRTScanFreqConfig",
},
type_desc = "param_t2"
},
},
},
[262] = {
name = "CsiIdcRTSetArbiterStatsConfigReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaIdcRTRArbiterStatsConfig",
},
type_desc = "param_t2"
},
},
},
[263] = {
name = "CsiIdcRTGetArbiterStatsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[264] = {
name = "CsiIdcControlEventReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaIdcEventType",
},
type_desc = "event_bitmap_t2"
},
},
},
[265] = {
name = "CsiIdcTestModeCmdReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiIdcTestModeCmd",
},
type_desc = "cmd_t1"
},
[2] = {
codec = {
length = 28,
name = "CsiIdcTestModeParam",
},
type_desc = "param_t2"
},
},
},
[266] = {
name = "CsiIdcRTControlWci2UartReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "ignore_t1"
},
},
},
[267] = {
name = "CsiIdcRTUartActivityStatsConfigReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "stats_accum_period_t2"
},
},
},
[268] = {
name = "CsiIdcRTGetUartActivityStatsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[269] = {
name = "CsiIdcSetWifiStatusReq",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "wifi_center_freq_MHz_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "wifi_tx_power_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaIdcWifiBandWidth",
},
type_desc = "wifi_bw_t4"
},
},
},
[270] = {
name = "CsiIdcUartType4StatsConfigReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "stats_accum_period_t2"
},
},
},
[271] = {
name = "CsiIdcGetUartType4StatsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[272] = {
name = "CsiIdcSetTxPowerLimitReq",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "UtaInt8",
},
type_desc = "host_power_threshold_t2"
},
[3] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "host_RB_threshold_t3"
},
[4] = {
codec = {
length = 1,
name = "UtaInt8",
},
type_desc = "wci2_power_threshold_t4"
},
[5] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "wci2_RB_threshold_t5"
},
[6] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "wci2_power_limiting_timer_ms_t6"
},
[7] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "UL_HARQ_nack_ratio_threshold_t7"
},
[8] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "host_power_limiting_enable_t8"
},
},
},
[273] = {
name = "CsiIdcSetLaaConfigReq",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "laa_coex_enable_t2"
},
[3] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "idc_laa_protect_cqi_period_t3"
},
[4] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "laa_threshod_in_t4"
},
[5] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "laa_threshod_out_t5"
},
[6] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "laa_deact_timer_t6"
},
[7] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "laa_deact_stop_timer_t7"
},
},
},
[274] = {
name = "CsiIdcSetRadio1Req",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIIdcRadio1Param",
},
type_desc = "data_t2"
},
},
},
[275] = {
name = "CsiIdcSetGnssStatusReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIIdcGnssStatus",
},
type_desc = "data_t2"
},
},
},
[513] = {
name = "CsiIdcGetCellConfigRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 672,
name = "UtaIdcCellConfig",
},
type_desc = "data_t3"
},
[4] = {
codec = {
length = 32,
name = "UtaIdcCellConfigExt",
},
type_desc = "ext_data_t4"
},
[5] = {
codec = {
length = 288,
name = "IBIIdcCellConfigExtCfg",
},
type_desc = "extcfg_data_t5"
},
},
},
[514] = {
name = "CsiIdcSetRTConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[515] = {
name = "CsiIdcRTSetLinkQualityReportRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[516] = {
name = "CsiIdcRTGetLinkQualityReportRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 11,
name = "UtaIdcRTLinkQReport",
},
type_desc = "data_t3"
},
},
},
[517] = {
name = "CsiIdcRTSetScanFreqRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[518] = {
name = "CsiIdcRTSetArbiterStatsConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[519] = {
name = "CsiIdcRTArbiterStatsRspCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 40,
name = "UtaIdcRTArbiterStats",
},
type_desc = "data_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "WiFi_BT_both_asserted_subframes_t4"
},
},
},
[520] = {
name = "CsiIdcControlEventRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[521] = {
name = "CsiIdcTestModeCmdRsp",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 8,
name = "CsiIdcTestModeResult",
},
type_desc = "test_result_t2"
},
[3] = {
codec = {
length = 4,
name = "CsiIdcTestModeCmd",
},
type_desc = "cmd_issued_t3"
},
},
},
[522] = {
name = "CsiIdcRTControlWci2UartRsp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t1"
},
},
},
[523] = {
name = "CsiIdcRTUartActivityStatsConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[524] = {
name = "CsiIdcRTUartActivityStatsRspCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "uart_msg_counting_report_valid_t3"
},
[4] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg0_t4"
},
[5] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg1_t5"
},
[6] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg3_t6"
},
[7] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg4_t7"
},
[8] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg6_t8"
},
[9] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg7_t9"
},
},
},
[525] = {
name = "CsiIdcSetWifiStatusRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[526] = {
name = "CsiIdcUartType4StatsConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[527] = {
name = "CsiIdcUartType4StatsRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "type4_bin_t3"
},
},
},
[528] = {
name = "CsiIdcSetTxPowerLimitRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[529] = {
name = "CsiIdcSetLaaConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
},
},
[530] = {
name = "CsiIdcSetRadio1RspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t2"
},
},
},
[531] = {
name = "CsiIdcSetGnssStatusRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t2"
},
},
},
[769] = {
name = "CsiIdcCellConfigEventIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 672,
name = "UtaIdcCellConfig",
},
type_desc = "data_t3"
},
[4] = {
codec = {
length = 32,
name = "UtaIdcCellConfigExt",
},
type_desc = "ext_data_t4"
},
[5] = {
codec = {
length = 288,
name = "IBIIdcCellConfigExtCfg",
},
type_desc = "extcfg_data_t5"
},
},
},
[770] = {
name = "CsiIdcRTLinkQualityReportEventIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 11,
name = "UtaIdcRTLinkQReport",
},
type_desc = "data_t3"
},
},
},
[771] = {
name = "CsiIdcRTArbiterStatsEventIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 40,
name = "UtaIdcRTArbiterStats",
},
type_desc = "data_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "WiFi_BT_both_asserted_subframes_t4"
},
},
},
[772] = {
name = "CsiIdcRTUartActivityStatsEventIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "uart_msg_counting_report_valid_t3"
},
[4] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg0_t4"
},
[5] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg1_t5"
},
[6] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg3_t6"
},
[7] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg4_t7"
},
[8] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg6_t8"
},
[9] = {
codec = {
length = 8,
name = "UtaIdcRxTxCounter",
},
type_desc = "wci2_msg7_t9"
},
},
},
[773] = {
name = "CsiIdcUartType4StatsEventIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t2"
},
[3] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "type4_bin_t3"
},
},
},
},
[19] = {
["name"] = "_ARIMSGDEF_GROUP19_cls",
[256] = {
name = "IBIMsLpMeasurePositionMeasurementsRsp",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "responseType_t4"
},
[5] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t5"
},
[6] = {
codec = {
length = 456,
name = "IBILpGpsMeasurements",
},
type_desc = "gpsMeasurements_t6"
},
[7] = {
codec = {
length = 1660,
name = "IBILpGanssMeasurements",
},
type_desc = "ganssMeasurements_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "moreGanssMeasurements_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isMeasInCdmaTime_t9"
},
},
},
[257] = {
name = "IBIMsLpMeasurePositionMeasurementsShortRsp",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "responseType_t4"
},
[5] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t5"
},
[6] = {
codec = {
length = 456,
name = "IBILpGpsMeasurements",
},
type_desc = "gpsMeasurements_t6"
},
[7] = {
codec = {
length = 3224,
name = "IBILpGanssMeasurementsShort",
},
type_desc = "ganssMeasurements_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "moreGanssMeasurements_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isMeasInCdmaTime_t9"
},
},
},
[258] = {
name = "IBIMsLpMeasurePositionLocationInfoRsp",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "responseType_t4"
},
[5] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t5"
},
[6] = {
codec = {
length = 72,
name = "IBILpLocationInfo",
},
type_desc = "locationInfo_t6"
},
[7] = {
codec = {
length = 124,
name = "IBILpGanssLocationInfo",
},
type_desc = "ganssLocationInfo_t7"
},
[8] = {
codec = {
length = 208,
name = "IBILpLocEstimate",
},
type_desc = "locEstimate_t8"
},
[9] = {
codec = {
length = 28,
name = "IBILpVelocityEstimate",
},
type_desc = "velocityEstimate_t9"
},
},
},
[259] = {
name = "IBIMsLpMeasurePositionAssistanceRequestRsp",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "responseType_t4"
},
[5] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t5"
},
[6] = {
codec = {
length = 38,
name = "IBISsLcsGpsAssistanceRequest",
},
type_desc = "assistanceRequest_t6"
},
[7] = {
codec = {
length = 1836,
name = "IBILpGanssAssistanceRequest",
},
type_desc = "ganssAssistanceRequest_t7"
},
},
},
[260] = {
name = "IBIMsLpGnssAbortCnf",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t5"
},
},
},
[261] = {
name = "IBIMsCellTimeStampReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICtsNetworkType",
},
type_desc = "networkType_t3"
},
},
},
[262] = {
name = "IBIMsLpWlanMeasurementRsp",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
[5] = {
codec = {
length = 1048,
name = "IBILpWlanMeasurements",
},
type_desc = "wlanMeasurements_t5"
},
},
},
[263] = {
name = "IBIMsLpMeasurePositionMeasurementsAndEstimateRsp",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "responseType_t4"
},
[5] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t5"
},
[6] = {
codec = {
length = 456,
name = "IBILpGpsMeasurements",
},
type_desc = "gpsMeasurements_t6"
},
[7] = {
codec = {
length = 48,
name = "IBILpIs801LocationInd",
},
type_desc = "locationIndication_t7"
},
[8] = {
codec = {
length = 4,
name = "IBILpMeasurementAndEstimateAFLT",
},
type_desc = "afltConfiguration_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "isMeasInCdmaTime_t9"
},
},
},
[512] = {
name = "IBIMsLpMeasurePositionMeasurementsRspAckCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
},
},
[513] = {
name = "IBIMsLpMeasurePositionMeasurementsShortRspAckCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
},
},
[514] = {
name = "IBIMsLpMeasurePositionLocationInfoRspAckCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
},
},
[515] = {
name = "IBIMsLpMeasurePositionAssistanceRequestRspAckCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
},
},
[516] = {
name = "IBIMsLpGnssAbortCnfAckCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t3"
},
},
},
[517] = {
name = "IBIMsCellTimeStampReqAckCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
},
},
[518] = {
name = "IBIMsLpWlanMeasurementRspAckCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
},
},
[519] = {
name = "IBIMsLpMeasurePositionMeasurementsAndEstimateRspAckCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t4"
},
},
},
[768] = {
name = "IBIMsLpMeasurePositionReqCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "interval_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpMethodType",
},
type_desc = "method_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "responseTime_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "horizontalAccuracy_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "protocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "velocityRequested_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "gpsCellTimingWanted_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "horizontalConfidence_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "verticalAccuracy_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "verticalConfidence_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "lppInUse_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "verticalRequested_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "assistanceAvailability_t14"
},
[15] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "requestedGnss_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "carrierPhaseMeasRequested_t16"
},
[17] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "multiFreqMeasRequested_t17"
},
[18] = {
codec = {
length = 4,
name = "IBILpEnvironment",
},
type_desc = "environment_t18"
},
[19] = {
codec = {
length = 4,
name = "IBILpAdditionalInfo",
},
type_desc = "addnlInfo_t19"
},
[20] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "locCordinateTypeAllowed_t20"
},
[21] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "velocityTypes_t21"
},
[22] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "reportAmount_t22"
},
[23] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t23"
},
[24] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t24"
},
},
},
[769] = {
name = "IBIMsLpGpsReferenceTimeIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gpsTow_t2"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "gpsWeek_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gpsTimeUncertainty_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "utranGpsDrift_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpUtranSfnGpsUncertainty",
},
type_desc = "utranSfnTowUncertainty_t6"
},
[7] = {
codec = {
length = 748,
name = "IBILpCellTimeAssistance",
},
type_desc = "cellTimeAssistance_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "nrOfSats_t8"
},
[9] = {
codec = {
length = 16,
name = "IBILpTowAssist",
},
type_desc = "towAssist_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gpsWeekCycleNumber_t10"
},
[11] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t11"
},
[12] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t13"
},
},
},
[770] = {
name = "IBIMsLpGpsReferenceLocationIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "shapeType_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "hemisphere_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "altitude_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "latitude_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "longitude_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "directionOfAlt_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "semiMajorUncert_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "semiMinorUncert_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "majorAxis_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "altUncert_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "confidence_t12"
},
[13] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t13"
},
[14] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t15"
},
},
},
[771] = {
name = "IBIMsLpGpsDgpsCorrectionsIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gpsTow_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpDgpsStatus",
},
type_desc = "status_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "nrOfSats_t4"
},
[5] = {
codec = {
length = 6,
name = "IBILpDgpsElement",
},
type_desc = "dgpsInformation_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t8"
},
},
},
[772] = {
name = "IBIMsLpGpsNavigationModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "nrOfSats_t2"
},
[3] = {
codec = {
length = 96,
name = "IBILpGpsEphemeris",
},
type_desc = "ephemeris_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t6"
},
},
},
[773] = {
name = "IBIMsLpGpsIonosphericModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alpha0_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alpha1_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alpha2_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alpha3_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta0_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta1_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta2_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta3_t9"
},
[10] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t10"
},
[11] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t12"
},
},
},
[774] = {
name = "IBIMsLpGpsUtcModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "a1_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "a0_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "tot_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "wnt_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "wnlsf_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "deltaTls_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "dayNumber_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "deltaTlsf_t9"
},
[10] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t10"
},
[11] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t12"
},
},
},
[775] = {
name = "IBIMsLpGpsAlmanacIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "wna_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "nrOfSats_t3"
},
[4] = {
codec = {
length = 24,
name = "IBILpGpsAlmanacElement",
},
type_desc = "almanac_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "completeAlmanacProvided_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t8"
},
},
},
[776] = {
name = "IBIMsLpGpsAcquisitionAssistanceIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "gpsTow_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "nrOfSats_t3"
},
[4] = {
codec = {
length = 748,
name = "IBILpCellTimeAssistance",
},
type_desc = "cellTimeAssistance_t4"
},
[5] = {
codec = {
length = 20,
name = "IBILpGpsAcquisitionElement",
},
type_desc = "acquisition_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "confidence_t6"
},
[7] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t7"
},
[8] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t9"
},
},
},
[777] = {
name = "IBIMsLpGpsRealTimeIntegrityIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "badSvId_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "numOfSats_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t6"
},
},
},
[778] = {
name = "IBIMsLpGanssAcquisitionAssistanceIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpGanssId",
},
type_desc = "ganssId_t2"
},
[3] = {
codec = {
length = 1288,
name = "IBILpGanssAcquisitionAssistanceInfo",
},
type_desc = "ganssAcquisitionInfo_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t6"
},
},
},
[779] = {
name = "IBIMsLpGanssRealTimeIntegrityIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpGanssId",
},
type_desc = "ganssId_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "badSatInfoCount_t3"
},
[4] = {
codec = {
length = 2,
name = "IBILpGanssBadSatelliteInfo",
},
type_desc = "badSatInfo_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t7"
},
},
},
[780] = {
name = "IBIMsLpGanssTimeModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpGanssId",
},
type_desc = "ganssId_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ganssTimeModelDataListCount_t3"
},
[4] = {
codec = {
length = 24,
name = "IBILpGanssTimeModelData",
},
type_desc = "ganssTimeModelDataList_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t7"
},
},
},
[781] = {
name = "IBIMsLpGanssAuxiliaryInfoIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpGanssId",
},
type_desc = "ganssId_t2"
},
[3] = {
codec = {
length = 193,
name = "IBILpGanssAuxiliaryData",
},
type_desc = "ganssAuxiliaryData_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t6"
},
},
},
[782] = {
name = "IBIMsLpGanssAddUtcModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpGanssId",
},
type_desc = "ganssId_t2"
},
[3] = {
codec = {
length = 16,
name = "IBILpAddUtcModelSet",
},
type_desc = "ganssAddUtcModelSet_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t6"
},
},
},
[783] = {
name = "IBIMsLpGanssReferenceLocationIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "shapeType_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "hemisphere_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "altitude_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "latitude_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "longitude_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "directionOfAlt_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "semiMajorUncert_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "semiMinorUncert_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "majorAxis_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "altUncert_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "confidence_t12"
},
[13] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t13"
},
[14] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t15"
},
},
},
[784] = {
name = "IBIMsLpGanssReferenceTimeIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "ganssDay_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ganssTod_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "ganssTodFrac_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ganssTodUncertainty_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpGnssTimeId",
},
type_desc = "timeId_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "notificationOfLeapSecond_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "utranGanssDrift_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "geranFrameDrift_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "timeCellFramesUtran_t10"
},
[11] = {
codec = {
length = 748,
name = "IBILpCellTimeAssistance",
},
type_desc = "cellTimeAssistance_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "ganssDayCycleNumber_t12"
},
[13] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t13"
},
[14] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t14"
},
[15] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t15"
},
},
},
[785] = {
name = "IBIMsLpGanssAdditionalIonosphericModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "dataId_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alfa0_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alfa1_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alfa2_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "alfa3_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta0_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta1_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta2_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIInt8",
},
type_desc = "beta3_t10"
},
[11] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t11"
},
[12] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t13"
},
},
},
[786] = {
name = "IBIMsLpGlonassAlmanacIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBILpGanssCommonAlmanacData",
},
type_desc = "commonAlmanac_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "glonassAlmanacElementCount_t3"
},
[4] = {
codec = {
length = 32,
name = "IBILpGlonassAlmanacElement",
},
type_desc = "glonassAlmanacElement_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t7"
},
},
},
[787] = {
name = "IBIMsLpGlonassNavigationModelIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "nbi_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "navDataGlonassCount_t3"
},
[4] = {
codec = {
length = 56,
name = "IBILpGanssNavDataGlonass",
},
type_desc = "navDataGlonass_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t7"
},
},
},
[788] = {
name = "IBIMsLpAssistanceDataErrorIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpLocationServerErrorCause",
},
type_desc = "errorCause_t3"
},
},
},
[789] = {
name = "IBIMsLpResetGnssAssistanceDataCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "resetGpsOnly_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "positionMethod_t4"
},
},
},
[790] = {
name = "IBIMsLpGnssAbortReqCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t4"
},
[5] = {
codec = {
length = 4,
name = "IBILpAbortReason",
},
type_desc = "abortReason_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "overRidingPositionMethod_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "overRidingMethodType_t7"
},
},
},
[791] = {
name = "IBIMsLpGnssSuspendIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBILpPosProtocol",
},
type_desc = "posProtocol_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpSessionProtocol",
},
type_desc = "sessionProtocol_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "sessionId_t4"
},
},
},
[794] = {
name = "IBIMsLpDiscardedPosSessionIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpDiscardedPosMsgType",
},
type_desc = "posMsgType_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "positionMethod_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "methodType_t5"
},
[6] = {
codec = {
length = 4,
name = "IBILpDiscardReason",
},
type_desc = "discardReason_t6"
},
},
},
[795] = {
name = "IBIMsLpPosLocationRequestStatusIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "positionMethodBitmap_t3"
},
[4] = {
codec = {
length = 4,
name = "IBILpLocationRequestStatus",
},
type_desc = "locationRequestStatus_t4"
},
},
},
[796] = {
name = "IBIMsCellTimeStampIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "returnCode_t2"
},
[3] = {
codec = {
length = 4,
name = "IBICtsNetworkType",
},
type_desc = "networkType_t3"
},
[4] = {
codec = {
length = 28,
name = "IBICtsCellTimeData",
},
type_desc = "timeStampData_t4"
},
},
},
[797] = {
name = "IBIMsLpPosIs801GpsLocationIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t2"
},
[3] = {
codec = {
length = 4,
name = "IBILpIs801LocationIndStatus",
},
type_desc = "locationStatus_t3"
},
[4] = {
codec = {
length = 48,
name = "IBILpIs801LocationInd",
},
type_desc = "locationIndication_t4"
},
},
},
[798] = {
name = "IBIMsLpWlanMeasurementReqCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 12,
name = "IBILpSessionInfo",
},
type_desc = "sessionInfo_t2"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "responseTime_t3"
},
[4] = {
codec = {
length = 1,
name = "IBILpWlanReqInfo",
},
type_desc = "wlanReqInfo_t4"
},
},
},
},
[20] = {
["name"] = "_ARIMSGDEF_GROUP20_sys_diag",
[259] = {
name = "CsiIpcCtrlPathTestInitReq",
mtlvs = {},
tlvs = {
},
},
[260] = {
name = "CsiIpcCtrlPathTestUnInitReq",
mtlvs = {},
tlvs = {
},
},
[261] = {
name = "CsiIpcCtrlPathTestSrcCfgReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 16,
name = "CsiIpcCtrlPathTestSrcCfgReqParams",
},
type_desc = "SrcCfgParam_t1"
},
},
},
[262] = {
name = "CsiIpcCtrlPathTestSendDataReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 3076,
name = "CsiIpcCtrlPathTestDataSendReqParam",
},
type_desc = "param_t1"
},
},
},
[264] = {
name = "CsiIpcCtrlPathTestDataOpReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiIpcCtrIPathTestDataReqOp",
},
type_desc = "operation_t1"
},
},
},
[265] = {
name = "CsiIpcCtrlPathTestSrcReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiIpcCtrIPathTestStaticsReqParams",
},
type_desc = "operation_t1"
},
},
},
[515] = {
name = "CsiIpcCtrlPathTestInitRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[516] = {
name = "CsiIpcCtrlPathTestUnInitRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[517] = {
name = "CsiIpcCtrlPathTestSrcCfgRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiIpcCtrlPathTestSrcCfgRspCbParam",
},
type_desc = "result_t1"
},
},
},
[518] = {
name = "CsiIpcCtrlPathTestSendDataRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiIpcCtrlPathTestDataSendRspCbParam",
},
type_desc = "result_t1"
},
},
},
[520] = {
name = "CsiIpcCtrlPathTestDataOpRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiIpcCtrlPathTestDataOpRspCbParam",
},
type_desc = "operation_t1"
},
},
},
[521] = {
name = "CsiIpcCtrlPathTestSrcRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 28,
name = "CsiIpcCtrIPathTestStaticsRspCbParams",
},
type_desc = "result_t1"
},
},
},
[775] = {
name = "CsiIpcCtrlPathTestDataIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 3076,
name = "CsiIpcCtrlPathTestDataIndCbParam",
},
type_desc = "param_t1"
},
},
},
},
[21] = {
["name"] = "_ARIMSGDEF_GROUP21_ss_lcs",
[256] = {
name = "IBIMsSsLcsMtlrNotificationRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBISsLcsMtlrNotificationRspParams",
},
type_desc = "params_t2"
},
},
},
[257] = {
name = "IBIMsSsLcsPositioningCapabilityReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 16,
name = "IBIMsSsLcsPositioningCapabilityReqParam",
},
type_desc = "params_t2"
},
},
},
[512] = {
name = "IBIMsSsLcsMtlrNotificationRspAckCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[513] = {
name = "IBIMsSsLcsPositioningCapabilityRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 20,
name = "IBIMsSsLcsPositioningCapabilityRspParam",
},
type_desc = "params_t2"
},
},
},
[768] = {
name = "IBIMsSsLcsMtlrNotificationIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 328,
name = "IBISsLcsMtlrNotificationIndCbParams",
},
type_desc = "params_t2"
},
},
},
[769] = {
name = "IBIMsSsLcsMtlrRejectIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 8,
name = "IBIMsSsLcsMtlrRejectIndParam",
},
type_desc = "params_t2"
},
},
},
},
[22] = {
["name"] = "_ARIMSGDEF_GROUP22_xcc",
[256] = {
name = "IBIXccClockControlReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "IBIXccClockControlReqParams",
},
type_desc = "params_t1"
},
},
},
[257] = {
name = "IBIXccLtlReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIXccPeripheral",
},
type_desc = "peripheral_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIXccLtlInfoType",
},
type_desc = "ltl_info_type_t3"
},
},
},
[512] = {
name = "IBIXccClockControlRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 24,
name = "IBIXccClockControlRspCbParams",
},
type_desc = "params_t1"
},
},
},
[513] = {
name = "IBIXccLtlRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_code_t1"
},
},
},
[768] = {
name = "IBIXccClockIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 24,
name = "IBIXccClockControlIndCbParams",
},
type_desc = "params_t1"
},
},
},
[769] = {
name = "IBIXccLtlIndCb",
mtlvs = {1, 2, 25, 26},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "status_code_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIXccLtlInfoType",
},
type_desc = "ltl_info_type_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "coeff_c5_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "coeff_c4_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "coeff_c3_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "coeff_c2_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "coeff_c1_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "coeff_c0_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ltl_cleanup_factor_t9"
},
[10] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "hwid_t10"
},
[11] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "clkid_t11"
},
[12] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ltl_update_cnt_t12"
},
[13] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ltl_cleanup_cnt_t13"
},
[14] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "s_curve_val_t14"
},
[15] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "s_curve_history_t15"
},
[16] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "coeff_calibrated_t16"
},
[17] = {
codec = {
length = 2,
name = "IBIInt16",
},
type_desc = "ref_temp_t17"
},
[18] = {
codec = {
length = 2,
name = "IBIInt16",
},
type_desc = "correction_factor_t18"
},
[19] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "prod_version_t19"
},
[20] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "post_cal_version_t20"
},
[21] = {
codec = {
length = 2,
name = "IBIInt16",
},
type_desc = "adc_gain_t21"
},
[22] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "adc_offset_t22"
},
[23] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "adc_gain_ext_t23"
},
[24] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "adc_offset_ext_t24"
},
[25] = {
codec = {
length = 4,
name = "IBIXccLtlIndType",
},
type_desc = "ind_type_t25"
},
[26] = {
codec = {
length = 4,
name = "IBIXccPeripheral",
},
type_desc = "peripheral_t26"
},
[27] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "ref_temp_mc_t27"
},
[28] = {
codec = {
length = 4,
name = "IBIInt32",
},
type_desc = "correction_factor_1ppm_t28"
},
},
},
},
[23] = {
["name"] = "_ARIMSGDEF_GROUP23_trc_info",
[257] = {
name = "CsiTraceProfileInitReq",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "active_length_t1"
},
[2] = {
codec = {
length = 1,
name = "UtaChar",
},
type_desc = "active_profile_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "sleep_length_t3"
},
[4] = {
codec = {
length = 1,
name = "UtaChar",
},
type_desc = "sleep_string_t4"
},
},
},
[258] = {
name = "CsiTraceModeInitReq",
mtlvs = {1, 2, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trace_enable_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trace_mode_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "high_watermark_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "low_watermark_t4"
},
[5] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "timeout_to_trace_t5"
},
},
},
[259] = {
name = "CsiTraceProfileSelectReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trace_enable_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "active_sleep_t2"
},
},
},
[260] = {
name = "CsiTraceAddMasksReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "config_length_t1"
},
[2] = {
codec = {
length = 1,
name = "UtaChar",
},
type_desc = "config_string_t2"
},
},
},
[261] = {
name = "CsiTraceProfilePacketsReq",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "profile_id_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "pkt_seq_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "total_length_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "pkt_offset_t4"
},
[5] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "pkt_length_t5"
},
[6] = {
codec = {
length = 1,
name = "UtaChar",
},
type_desc = "pkt_t6"
},
},
},
[273] = {
name = "CsiXsioSetReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "handle_t1"
},
},
},
[274] = {
name = "CsiXsioGetReq",
mtlvs = {},
tlvs = {
},
},
[513] = {
name = "CsiTraceProfileInitRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t1"
},
},
},
[514] = {
name = "CsiTraceModeInitRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t1"
},
},
},
[515] = {
name = "CsiTraceProfileSelectRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t1"
},
},
},
[516] = {
name = "CsiTraceAddMasksRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t1"
},
},
},
[517] = {
name = "CsiTraceProfilePacketsRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t1"
},
},
},
[529] = {
name = "CsiXsioSetRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t1"
},
},
},
[530] = {
name = "CsiXsioGetRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "handle_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
},
[29] = {
["name"] = "_ARIMSGDEF_GROUP29_ogrs",
[257] = {
name = "IBIOgrsActivationReq",
mtlvs = {1, 3, 4, 5, 6, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIOgrsActivationType",
},
type_desc = "Type_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIOgrsInterfaceId",
},
type_desc = "LocalInterfaceID_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIOgrsUserId",
},
type_desc = "LocalUserID_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumDiscoveryListEntries_t6"
},
[7] = {
codec = {
length = 52,
name = "IBIRemotePeerConfiguration_t",
},
type_desc = "DiscoveryList_t7"
},
[8] = {
codec = {
length = 4,
name = "IBIOgrsDiscoveryMode",
},
type_desc = "Mode_t8"
},
},
},
[258] = {
name = "IBIOgrsDeactivationReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[259] = {
name = "IBIOgrsDedicatedDiscoveryReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "InterfaceID_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "EmergencyIndicator_t4"
},
},
},
[260] = {
name = "IBIOgrsPresenceDiscoveryReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "ReportingInterval_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "SearchInterval_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumSearchListEntries_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIOgrsInterfaceId",
},
type_desc = "SearchList_t6"
},
},
},
[261] = {
name = "IBIOgrsPresenceDiscoveryStopReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[262] = {
name = "IBIOgrsDiscoveryReleaseReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumUsers_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIOgrsInterfaceId",
},
type_desc = "ReleaseList_t4"
},
},
},
[263] = {
name = "IBIOgrsTxDiscardReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumUsers_t3"
},
[4] = {
codec = {
length = 16,
name = "IBIUserList_t",
},
type_desc = "UserList_t4"
},
},
},
[265] = {
name = "IBIOgrsInterfaceStartReq",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIOgrsInterfaceId",
},
type_desc = "InterfaceID_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIChar",
},
type_desc = "terminal_name_t4"
},
},
},
[266] = {
name = "IBIOgrsInterfaceStopReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumContextIDs_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ContextID_List_t4"
},
},
},
[267] = {
name = "IBIOgrsEmergencyTransmissionReq",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIOgrsUserId",
},
type_desc = "EmergencyUserID_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "Count_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "Periodicity_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "Length_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "Message_t7"
},
},
},
[268] = {
name = "IBIOgrsEmergencyTransmissionStopReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[269] = {
name = "IBIOgrsDiscoveryStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[270] = {
name = "IBIOgrsEventFilterReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumUsers_t3"
},
[4] = {
codec = {
length = 16,
name = "IBIUserList_t",
},
type_desc = "UserList_t4"
},
},
},
[271] = {
name = "IBIOgrsSetParameterReq",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "ParameterConfigPresenceBitmask_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsMasterLikelihood",
},
type_desc = "MasterLikelihood_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIOgrsRelayLikelihood",
},
type_desc = "RelayLikelihood_t5"
},
},
},
[513] = {
name = "IBIOgrsActivationRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[514] = {
name = "IBIOgrsDeactivationRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[515] = {
name = "IBIOgrsDedicatedDiscoveryRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[516] = {
name = "IBIOgrsPresenceDiscoveryRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[517] = {
name = "IBIOgrsPresenceDiscoveryStopRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[518] = {
name = "IBIOgrsDiscoveryReleaseRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[519] = {
name = "IBIOgrsTxDiscardRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[521] = {
name = "IBIOgrsInterfaceStartRspCb",
mtlvs = {1, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "DataContextID_t5"
},
},
},
[522] = {
name = "IBIOgrsInterfaceStopRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[523] = {
name = "IBIOgrsEmergencyTransmissionRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[524] = {
name = "IBIOgrsEmergencyTransmissionStopRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[525] = {
name = "IBIOgrsDiscoveryStatusRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[526] = {
name = "IBIOgrsEventFilterRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[527] = {
name = "IBIOgrsSetParameterRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "Result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIOgrsFailureCause",
},
type_desc = "FailureCause_t4"
},
},
},
[769] = {
name = "IBIOgrsStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIOgrsSystemStatus",
},
type_desc = "State_t2"
},
},
},
[770] = {
name = "IBIOgrsDeactivationIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIOgrsDeactivationCause",
},
type_desc = "DeactivationCause_t2"
},
},
},
[771] = {
name = "IBIOgrsDiscoveryStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumUsers_t2"
},
[3] = {
codec = {
length = 28,
name = "IBIOgrsDiscListParam",
},
type_desc = "DiscoveryStatusList_t3"
},
},
},
[772] = {
name = "IBIOgrsTxDiscardIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "InterfaceID_t2"
},
},
},
[773] = {
name = "IBIOgrsInterfaceStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "NumPDP_Contexts_t2"
},
[3] = {
codec = {
length = 12,
name = "IBIPDP_ContextList_t",
},
type_desc = "PDP_ContextList_t3"
},
},
},
[774] = {
name = "IBIOgrsEmergencyTransmissionIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIEmergencyTransmissionResult",
},
type_desc = "result_t2"
},
},
},
[775] = {
name = "IBIOgrsEmergencyReceptionIndCb",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIOgrsUserId",
},
type_desc = "UserID_t2"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "Length_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "Message_t4"
},
},
},
},
[31] = {
["name"] = "_ARIMSGDEF_GROUP31_embms",
[257] = {
name = "IBIEmbmsSetServiceReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsServiceSupport",
},
type_desc = "embms_service_support_t3"
},
},
},
[258] = {
name = "IBIEmbmsGetServiceReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[259] = {
name = "IBIEmbmsGetServicesListReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsServiceType",
},
type_desc = "service_type_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_t4"
},
},
},
[260] = {
name = "IBIEmbmsSessionConfigReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "embms_session_activate_t3"
},
[4] = {
codec = {
length = 6,
name = "IBIEmbmsTMGIInfoParam",
},
type_desc = "tmgi_info_t4"
},
},
},
[261] = {
name = "IBIEmbmsSetInterestedTMGIListReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "tmgi_info_list_length_t3"
},
[4] = {
codec = {
length = 6,
name = "IBIEmbmsTMGIInfoParam",
},
type_desc = "tmgi_info_list_t4"
},
},
},
[262] = {
name = "IBIEmbmsGetInterestedTMGIListReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[263] = {
name = "IBIEmbmsGetSAIListReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsGetSAIType",
},
type_desc = "sai_type_t3"
},
},
},
[264] = {
name = "IBIEmbmsSetInterestedSAIFreqReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "earfcn_list_length_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_list_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "embms_priority_flag_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "interested_sai_list_length_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "interested_sai_list_t7"
},
},
},
[513] = {
name = "IBIEmbmsSetServiceRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[514] = {
name = "IBIEmbmsGetServiceRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIEmbmsServiceSupport",
},
type_desc = "embms_service_support_t4"
},
},
},
[515] = {
name = "IBIEmbmsGetServicesListRspCb",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIEmbmsServiceType",
},
type_desc = "service_type_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "total_num_of_embms_services_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_t6"
},
},
},
[516] = {
name = "IBIEmbmsSessionConfigRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[517] = {
name = "IBIEmbmsSetInterestedTMGIListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBICommonReturnCodes",
},
type_desc = "result_t3"
},
},
},
[518] = {
name = "IBIEmbmsGetInterestedTMGIListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "tmgi_info_list_length_t3"
},
[4] = {
codec = {
length = 6,
name = "IBIEmbmsTMGIInfoParam",
},
type_desc = "tmgi_info_list_t4"
},
},
},
[519] = {
name = "IBIEmbmsGetSAIListRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsGetSAIType",
},
type_desc = "sai_type_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "inter_freq_info_length_t4"
},
[5] = {
codec = {
length = 136,
name = "IBIEmbmsInterFreqInfo",
},
type_desc = "inter_freq_info_t5"
},
[6] = {
codec = {
length = 130,
name = "IBIEmbmsIntraFreqInfo",
},
type_desc = "intra_freq_info_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "embms_priority_flag_t7"
},
[8] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "earfcn_list_length_t8"
},
[9] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_list_t9"
},
[10] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "interested_sai_list_length_t10"
},
[11] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "interested_sai_list_t11"
},
},
},
[520] = {
name = "IBIEmbmsSetInterestedSAIFreqRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIEmbmsRejectCause",
},
type_desc = "reject_cause_t4"
},
},
},
[769] = {
name = "IBIEmbmsServiceIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIEmbmsServiceSupport",
},
type_desc = "embms_service_support_t2"
},
},
},
[770] = {
name = "IBIEmbmsMBSFNAreaIndCb",
mtlvs = {1, 2, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIEmbmsMBSFNAreaAvailability",
},
type_desc = "mbsfn_area_availability_t2"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "mbsfn_area_id_list_length_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "mbsfn_area_id_list_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_t5"
},
},
},
[771] = {
name = "IBIEmbmsServicesListIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "total_num_of_embms_services_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsServiceType",
},
type_desc = "service_type_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "services_list_length_t4"
},
[5] = {
codec = {
length = 8,
name = "IBIEmbmsServiceInfo",
},
type_desc = "services_list_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_final_t7"
},
},
},
[772] = {
name = "IBIEmbmsSAIListIndCb",
mtlvs = {1, 2, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "inter_freq_info_length_t2"
},
[3] = {
codec = {
length = 136,
name = "IBIEmbmsInterFreqInfo",
},
type_desc = "inter_freq_info_t3"
},
[4] = {
codec = {
length = 130,
name = "IBIEmbmsIntraFreqInfo",
},
type_desc = "intra_freq_info_t4"
},
[5] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "embms_priority_flag_t5"
},
},
},
[773] = {
name = "IBIEmbmsServiceLossIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsServiceLossCause",
},
type_desc = "embms_loss_cause_t3"
},
},
},
[774] = {
name = "IBIEmbmsGetServicesListIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "total_num_of_embms_services_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIEmbmsServiceType",
},
type_desc = "service_type_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "services_list_length_t4"
},
[5] = {
codec = {
length = 8,
name = "IBIEmbmsServiceInfo",
},
type_desc = "services_list_t5"
},
[6] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "earfcn_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "is_final_t7"
},
},
},
},
[33] = {
["name"] = "_ARIMSGDEF_GROUP33_pri",
[258] = {
name = "IBIPriWriteReq_V2",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "pri_size_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "length_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "signature_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cb_name_t6"
},
[7] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "bypass_t7"
},
},
},
[259] = {
name = "IBIPriRefreshReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[514] = {
name = "IBIPriWriteRspCb_V2",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIPriGriWriteResp",
},
type_desc = "result_t3"
},
},
},
[515] = {
name = "IBIPriRefreshRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "success_t3"
},
},
},
[769] = {
name = "IBIPriWriteStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIPriGriWriteResp",
},
type_desc = "pri_write_rsp_t2"
},
},
},
[770] = {
name = "IBIPriRefreshStatusIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIPriRefreshStatus",
},
type_desc = "refresh_status_t2"
},
},
},
},
[34] = {
["name"] = "_ARIMSGDEF_GROUP34_ice_ipc",
[257] = {
name = "CsiIpcGetLogBufferListReq",
mtlvs = {},
tlvs = {
},
},
[258] = {
name = "CsiIpcGetLogBufferReq",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "buf_index_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "buf_offset_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "length_t3"
},
},
},
[513] = {
name = "CsiIpcGetLogBufferListRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 24,
name = "CsiIceIpcLogBufferList",
},
type_desc = "list_t2"
},
},
},
[514] = {
name = "CsiIpcGetLogBufferRsp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
},
[50] = {
["name"] = "_ARIMSGDEF_GROUP50_ibi_vinyl",
[257] = {
name = "IBIVinylGetEidReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[258] = {
name = "IBIVinylGetDataReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "is_num_of_profile_needed_t3"
},
},
},
[260] = {
name = "IBIVinylTapeReq",
mtlvs = {1, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylTapeCmd",
},
type_desc = "cmd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIBool",
},
type_desc = "final_seg_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "length_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "payload_t8"
},
},
},
[261] = {
name = "IBIVinylInitPsoReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "p1_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "p2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t6"
},
},
},
[262] = {
name = "IBIVinylAuthPsoReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "p1_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "p2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t6"
},
},
},
[263] = {
name = "IBIVinylFinalizePsoReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "p1_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "p2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t6"
},
},
},
[264] = {
name = "IBIVinylValidatePsoReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t6"
},
},
},
[267] = {
name = "IBIVinylTapeCapsReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[268] = {
name = "IBIVinylSwitchModeReq",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "is_reset_sim_t3"
},
},
},
[269] = {
name = "IBIVinylInstallVadReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t6"
},
},
},
[270] = {
name = "IBIVinylInstallFwReq",
mtlvs = {1, 3, 4, 5, 6, 7},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "num_of_apdu_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t7"
},
},
},
[271] = {
name = "IBIVinylStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
},
},
[272] = {
name = "IBIVinylLPASigningReq",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_req_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_req_data_t6"
},
},
},
[513] = {
name = "IBIVinylGetEidRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "eid_t4"
},
},
},
[514] = {
name = "IBIVinylGetDataRspCb",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "is_pso_supported_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "eid_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "op_mode_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "current_fw_version_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "main_nonce_t9"
},
[10] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gold_nonce_t10"
},
[11] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "main_mac_t11"
},
[12] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "main_fw_version_t12"
},
[13] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "main_pcf_challenge_t13"
},
[14] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "main_fw_size_t14"
},
[15] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gold_mac_t15"
},
[16] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gold_fw_version_t16"
},
[17] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gold_pcf_challenge_t17"
},
[18] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gold_fw_size_t18"
},
[19] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "profile_version_t19"
},
[20] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "current_mac_t20"
},
[21] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "loader_version_t21"
},
[22] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "key_id_t22"
},
[23] = {
codec = {
length = 2,
name = "IBIInt16",
},
type_desc = "num_of_user_profile_t23"
},
[24] = {
codec = {
length = 2,
name = "IBIInt16",
},
type_desc = "num_of_btstrap_profile_t24"
},
[25] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "chip_id_t25"
},
},
},
[516] = {
name = "IBIVinylTapeRspCb",
mtlvs = {1, 3, 4, 5, 6, 7, 8, 9},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylTapeCmd",
},
type_desc = "cmd_t3"
},
[4] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t7"
},
[8] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "length_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "payload_t9"
},
},
},
[517] = {
name = "IBIVinylInitPsoRspCb",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_rsp_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_rsp_data_t6"
},
},
},
[518] = {
name = "IBIVinylAuthPsoRspCb",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_rsp_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_rsp_data_t6"
},
},
},
[519] = {
name = "IBIVinylFinalizePsoRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
},
},
[520] = {
name = "IBIVinylValidatePsoRspCb",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_rsp_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_rsp_data_t6"
},
},
},
[523] = {
name = "IBIVinylTapeCapsRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "gsm_rel_t4"
},
[5] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "utran_rel_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_1x_rel_t6"
},
[7] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_hrpd_rel_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "cdma_ehrpd_rel_t8"
},
[9] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "eutran_rel_t9"
},
},
},
[524] = {
name = "IBIVinylSwitchModeRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
},
},
[525] = {
name = "IBIVinylInstallVadRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
},
},
[526] = {
name = "IBIVinylInstallFwRspCb",
mtlvs = {1, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
},
},
[527] = {
name = "IBIVinylStatusRspCb",
mtlvs = {1, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylSupport",
},
type_desc = "support_t3"
},
},
},
[528] = {
name = "IBIVinylLPASigningRspCb",
mtlvs = {1, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sim_rsp_len_t5"
},
[6] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "sim_rsp_data_t6"
},
},
},
[769] = {
name = "IBIVinylStatusIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIVinylSupport",
},
type_desc = "support_t2"
},
},
},
[770] = {
name = "IBIVinylTapeIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "nInstance_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIVinylTapeCmd",
},
type_desc = "cmd_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIVinylResult",
},
type_desc = "result_t3"
},
[4] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "sw1_sw2_t4"
},
[5] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "total_seg_t5"
},
[6] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "cur_seg_t6"
},
[7] = {
codec = {
length = 2,
name = "IBIUInt16",
},
type_desc = "length_t7"
},
[8] = {
codec = {
length = 1,
name = "IBIUInt8",
},
type_desc = "payload_t8"
},
},
},
},
[51] = {
["name"] = "_ARIMSGDEF_GROUP51_ice_awds",
[401] = {
name = "CsiAwdsGlobalSwitchReq",
mtlvs = {1, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "status_t1"
},
[5] = {
codec = {
length = 8,
name = "UtaUInt64",
},
type_desc = "current_time_ms_t5"
},
},
},
[402] = {
name = "CsiAwdsPiiLocConfigReq",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "pii_allowed_t2"
},
[3] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "location_allowed_t3"
},
},
},
[405] = {
name = "CsiAwdsAddConfigReq",
mtlvs = {1, 2, 3, 4, 5, 6, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "config_type_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "total_length_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "packet_length_t4"
},
[5] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "packet_num_t5"
},
[6] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "last_packet_t6"
},
[8] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "config_payload_t8"
},
},
},
[406] = {
name = "CsiAwdsDeleteConfigReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
},
},
[409] = {
name = "CsiAwdsQueryReq",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_reference_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_type_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_id_t4"
},
[5] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "profile_id_t5"
},
[6] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "metric_id_t6"
},
[7] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "component_id_t7"
},
},
},
[410] = {
name = "CsiAwdsMetricSubSwitchReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "submit_status_t2"
},
},
},
[657] = {
name = "CsiAwdsGlobalSwitchRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "status_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
[658] = {
name = "CsiAwdsPiiLocConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
[661] = {
name = "CsiAwdsAddConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
[662] = {
name = "CsiAwdsDeleteConfigRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
[665] = {
name = "CsiAwdsQueryRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
[666] = {
name = "CsiAwdsMetricSubSwitchRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_code_t2"
},
},
},
[923] = {
name = "CsiAwdsMetricSubTriggerInd",
mtlvs = {1, 2, 3, 4, 5},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_reference_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_type_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_id_t4"
},
[5] = {
codec = {
length = 8,
name = "UtaUInt64",
},
type_desc = "trigger_time_ms_t5"
},
[6] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "component_id_t6"
},
},
},
[924] = {
name = "CsiAwdsMetricSubInd",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11},
tlvs = {
[1] = {
codec = {
length = 4,
name = "ARIAppId",
},
type_desc = "app_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_reference_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "profile_id_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "metric_id_t4"
},
[5] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "packet_length_t5"
},
[6] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "packet_num_t6"
},
[7] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "last_packet_t7"
},
[8] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "last_segment_t8"
},
[9] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "pii_submitted_t9"
},
[10] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "location_submitted_t10"
},
[11] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "payload_t11"
},
[12] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trigger_id_t12"
},
},
},
},
[60] = {
["name"] = "_ARIMSGDEF_GROUP60_ice_audio",
[257] = {
name = "CsiIceAudSetDeviceReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "downlink_trans_type_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "uplink_trans_type_t2"
},
},
},
[258] = {
name = "CsiIceAudSetI2SReq",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "i2s_mode_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "i2s_samplerate_t2"
},
[3] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "i2s_chan_t3"
},
},
},
[259] = {
name = "CsiIceAudEnableAudioReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "src_dst_mask_t1"
},
},
},
[260] = {
name = "CsiIceAudDisableAudioReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "src_dst_mask_t1"
},
},
},
[261] = {
name = "CsiIceAudLoopbackReq",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "control_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "hw_id_t2"
},
[3] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "loopback_id_t3"
},
},
},
[262] = {
name = "CsiIceAudEnableLoopbackHWReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "samplerate_t1"
},
},
},
[263] = {
name = "CsiIceAudDisableLoopbackHWReq",
mtlvs = {},
tlvs = {
},
},
[264] = {
name = "CsiIceAudVocoderInfoReq",
mtlvs = {},
tlvs = {
},
},
[265] = {
name = "CsiIceAudDeviceInfoReq",
mtlvs = {},
tlvs = {
},
},
[266] = {
name = "CsiIceAudToneStartReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 6,
name = "CsiIceAudToneConfig",
},
type_desc = "tone_config_t1"
},
},
},
[267] = {
name = "CsiIceAudToneStopReq",
mtlvs = {},
tlvs = {
},
},
[268] = {
name = "CsiIceAudCallEventReq",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "call_event_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "call_type_t2"
},
[3] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "call_id_t3"
},
},
},
[269] = {
name = "CsiIceAudSetAudioLoggingReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "enable_flag_t1"
},
},
},
[513] = {
name = "CsiIceAudSetDeviceRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[514] = {
name = "CsiIceAudSetI2SRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[515] = {
name = "CsiIceAudEnableAudioRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[516] = {
name = "CsiIceAudDisableAudioRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[517] = {
name = "CsiIceAudLoopbackRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[518] = {
name = "CsiIceAudEnableLoopbackHWRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[519] = {
name = "CsiIceAudDisableLoopbackHWRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[520] = {
name = "CsiIceAudVocoderInfoRespCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_type_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_samplerate_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "device_samplerate_t3"
},
},
},
[521] = {
name = "CsiIceAudDeviceInfoRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "device_samplerate_t1"
},
},
},
[522] = {
name = "CsiIceAudToneStartRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[523] = {
name = "CsiIceAudToneStopRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[524] = {
name = "CsiIceAudCallEventRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[525] = {
name = "CsiIceAudSetAudioLoggingRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[776] = {
name = "CsiIceAudVocoderInfoIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_type_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_samplerate_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "device_samplerate_t3"
},
},
},
[777] = {
name = "CsiIceAudDeviceInfoIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "device_samplerate_t1"
},
},
},
[779] = {
name = "CsiIceAudToneEndIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "tone_category_t1"
},
[2] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "tone_id_t2"
},
},
},
[782] = {
name = "CsiIceAudInterfaceInfoIndCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "interface_type_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "interface_state_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "interface_samplerate_t3"
},
},
},
[783] = {
name = "CsiIceAudStatsInfoIndCb",
mtlvs = {1, 2, 3, 4, 5, 6, 7, 8},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_type_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "direction_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_type_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_samplerate_t4"
},
[5] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "vocoder_mode_t5"
},
[6] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "total_num_frames_t6"
},
[7] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "active_num_frames_t7"
},
[8] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "silence_num_frames_t8"
},
[9] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "bad_num_frames_t9"
},
[10] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "lost_num_frames_t10"
},
},
},
[784] = {
name = "CsiIceAudDistortionInfoIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "distortion_type_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "distortion_time_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "distortion_duration_t3"
},
},
},
},
[61] = {
["name"] = "_ARIMSGDEF_GROUP61_rf_power_sar_nbd",
[257] = {
name = "CsiIceHearingAidReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "on_off_t1"
},
},
},
[258] = {
name = "CsiIceAntennaPrefReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "antenna_pref_t1"
},
},
},
[259] = {
name = "CsiIceAccessoryStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "accessory_state_t1"
},
},
},
[260] = {
name = "CsiIceCltmReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "max_power_percentile_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "duty_cycle_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "ppm_mw_t3"
},
[4] = {
codec = {
length = 8,
name = "IBI_CPMS_POWER_BUDGET",
},
type_desc = "cpms_power_budget_t4"
},
},
},
[261] = {
name = "CsiIceSarReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "sar_selection_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "ant_tuner_state_t2"
},
},
},
[262] = {
name = "CsiIceSarWaitTimeReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "wait_time_ms_t1"
},
},
},
[263] = {
name = "CsiIceTemperatureReq",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "type_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "format_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "period_ms_t4"
},
},
},
[264] = {
name = "CsiIceTemperatureCloseReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "type_t2"
},
},
},
[266] = {
name = "CsiIceSarEnableReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "sar_enable_t1"
},
},
},
[268] = {
name = "CsiIceBBTxStateIndEnableReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "tx_state_ind_enable_t1"
},
},
},
[269] = {
name = "CsiIceArtdSettingReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "on_off_t2"
},
},
},
[270] = {
name = "CsiIceGetAntennaStateReq",
mtlvs = {},
tlvs = {
},
},
[271] = {
name = "CsiIceArfcnLockReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "arfcn_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t2"
},
},
},
[272] = {
name = "CsiIceRxDiversityReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rx_diversity_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t2"
},
},
},
[273] = {
name = "CsiIceBBSleepEnableReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "sleep_en_t1"
},
},
},
[274] = {
name = "CsiIceWakeupReasonReq",
mtlvs = {},
tlvs = {
},
},
[275] = {
name = "CsiIceCaEnableReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "ca_enable_t1"
},
},
},
[276] = {
name = "CsiIceGetCaEnableReq",
mtlvs = {},
tlvs = {
},
},
[277] = {
name = "CsiIceGetRxDiversityReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t1"
},
},
},
[278] = {
name = "CsiIceGetArfcnLockReq",
mtlvs = {},
tlvs = {
},
},
[279] = {
name = "CsiIceSetTxAntennaReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "eCSI_ICE_TS_ANTENNA_STATE",
},
type_desc = "tx_antenna_t1"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "non_nvm_based_t3"
},
},
},
[280] = {
name = "CsiIceGetTxAntennaReq",
mtlvs = {},
tlvs = {
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "non_nvm_based_t2"
},
},
},
[281] = {
name = "CsiIceGetArtdSettingReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t1"
},
},
},
[282] = {
name = "CsiIceAccessoryStateArtdReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "accessory_state_t1"
},
},
},
[283] = {
name = "CsiIceSpeakerStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "eCSI_ICE_SPEAKER_STATE",
},
type_desc = "speaker_state_t1"
},
},
},
[284] = {
name = "CsiPowSleepSetSleepBlockerReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CsiPowSleepBlockingState",
},
type_desc = "state_t1"
},
},
},
[285] = {
name = "CsiIceGripStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "eCSI_ICE_GRIP_STATE",
},
type_desc = "grip_state_t1"
},
},
},
[286] = {
name = "CsiIceGpsStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "gps_state_t1"
},
},
},
[287] = {
name = "CsiIcePowerSourceStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "eCSI_ICE_PS_STATE",
},
type_desc = "ps_state_t1"
},
},
},
[288] = {
name = "CsiIceWristStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "eCSI_ICE_STATE_ONOFF",
},
type_desc = "wrist_state_t1"
},
},
},
[290] = {
name = "IBIMccSettingReq",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "mcc_sku_t1"
},
[2] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "mcc_pos_t2"
},
[3] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "override_t3"
},
},
},
[291] = {
name = "IBICPMSPowerQueryReq",
mtlvs = {},
tlvs = {
},
},
[298] = {
name = "CsiIceRFFilerWriteReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "instance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "file_size_t2"
},
},
},
[513] = {
name = "CsiIceHearingAidRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[514] = {
name = "CsiIceAntennaPrefRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[515] = {
name = "CsiIceAccessoryStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[516] = {
name = "CsiIceCltmRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[517] = {
name = "CsiIceSarRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[518] = {
name = "CsiIceSarWaitTimeRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[519] = {
name = "CsiIceTemperatureRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "id_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "data_t3"
},
},
},
[520] = {
name = "CsiIceTemperatureCloseRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[522] = {
name = "CsiIceSarEnableRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[524] = {
name = "CsiIceBBTxStateIndEnableRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[525] = {
name = "CsiIceArtdSettingRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[526] = {
name = "CsiIceGetAntennaStateRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "antenna_state_t2"
},
},
},
[527] = {
name = "CsiIceArfcnLockRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[528] = {
name = "CsiIceRxDiversityRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[529] = {
name = "CsiIceBBSleepEnableRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[530] = {
name = "CsiIceWakeupReasonRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 140,
name = "CSI_ICE_IPC_MEM_HOST_WAKE_REASON_INFO",
},
type_desc = "wakeup_info_t2"
},
},
},
[531] = {
name = "CsiIceCaEnableRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[532] = {
name = "CsiIceGetCaEnableRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "eCSI_ICE_BSP_ENABLE",
},
type_desc = "ca_enable_t2"
},
},
},
[533] = {
name = "CsiIceGetRxDiversityRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t2"
},
[3] = {
codec = {
length = 4,
name = "eCSI_ICE_RX_DIVERSITY",
},
type_desc = "rx_diversity_t3"
},
},
},
[534] = {
name = "CsiIceGetArfcnLockRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "eCSI_ICE_RAT",
},
type_desc = "rat_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "arfcn_t3"
},
},
},
[535] = {
name = "CsiIceSetTxAntennaRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[536] = {
name = "CsiIceGetTxAntennaRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "eCSI_ICE_TS_ANTENNA_STATE",
},
type_desc = "tx_antenna_t2"
},
},
},
[537] = {
name = "CsiIceGetArtdSettingRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "rat_t2"
},
[3] = {
codec = {
length = 4,
name = "eCSI_ICE_ARTD_ONOFF",
},
type_desc = "on_off_t3"
},
},
},
[538] = {
name = "CsiIceAccessoryStateArtdRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[539] = {
name = "CsiIceSpeakerStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[540] = {
name = "CsiPowSleepSetSleepBlockerRspCb",
mtlvs = {},
tlvs = {
},
},
[541] = {
name = "CsiIceGripStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[542] = {
name = "CsiIceGpsStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[543] = {
name = "CsiIcePowerSourceStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[544] = {
name = "CsiIceWristStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[546] = {
name = "IBIMccSettingRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t1"
},
},
},
[547] = {
name = "IBICPMSPowerQueryRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "IBI_CPMS_POWER_BUDGET",
},
type_desc = "cpms_power_budget_t1"
},
},
},
[554] = {
name = "CsiIceRFFilerWriteRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "instance_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t2"
},
},
},
[775] = {
name = "CsiIceTemperatureIndCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "id_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "data_t3"
},
},
},
[779] = {
name = "CsiIceBBTxStateInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "tx_state_t1"
},
},
},
[780] = {
name = "IBICpmsPowermWInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "received_mw_t1"
},
},
},
},
[62] = {
["name"] = "_ARIMSGDEF_GROUP62_bspnbd",
[257] = {
name = "CsiBspSetNvItemsToStateReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "nv_item_t1"
},
},
},
[258] = {
name = "CsiBspGetCalibrationStatusReq",
mtlvs = {},
tlvs = {
},
},
[260] = {
name = "CsiIceFilerReadReq",
mtlvs = {},
tlvs = {
},
},
[261] = {
name = "CsiIceFilerWriteReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "size_t1"
},
[2] = {
codec = {
length = 3072,
name = "CsiIceFilerDataParam",
},
type_desc = "data_t2"
},
},
},
[262] = {
name = "CsiFpRegister",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "enable_t1"
},
},
},
[263] = {
name = "CsiFpSnapshot",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaNvmDataType",
},
type_desc = "nvm_type_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaFlashPluginTrigger",
},
type_desc = "trigger_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "seq_id_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "force_t4"
},
},
},
[264] = {
name = "CsiFpUpdateAck",
mtlvs = {},
tlvs = {
},
},
[265] = {
name = "CsiFpUpdateHeader",
mtlvs = {},
tlvs = {
},
},
[266] = {
name = "CsiFpGetStatus",
mtlvs = {},
tlvs = {
},
},
[267] = {
name = "CsiIceAtReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 3076,
name = "CsiIceAtStringPayload",
},
type_desc = "p_at_payload_t1"
},
},
},
[268] = {
name = "CsiMonMemoryStatusReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "memory_id_t1"
},
},
},
[269] = {
name = "CsiBspShutdownReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "shutdown_type_t1"
},
},
},
[270] = {
name = "CsiBspSwTrapReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trap_id_t1"
},
},
},
[272] = {
name = "CsiCddGetDebugLogReq",
mtlvs = {},
tlvs = {
},
},
[273] = {
name = "CsiCddGetParamDumpReq",
mtlvs = {},
tlvs = {
},
},
[274] = {
name = "CsiSahGetCrashReportReq",
mtlvs = {},
tlvs = {
},
},
[275] = {
name = "CsiSahClearExceptionStoreReq",
mtlvs = {},
tlvs = {
},
},
[276] = {
name = "CsiSahGetDebugLogReq",
mtlvs = {},
tlvs = {
},
},
[277] = {
name = "CsiIceAtExtReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 3084,
name = "CsiIceAtExtStringPayload",
},
type_desc = "p_at_ext_payload_t1"
},
},
},
[278] = {
name = "CsiIceBspSetApWakeIntervalReq",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "enable_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "ms_interval_t2"
},
},
},
[281] = {
name = "CsiBspNvmGroupEnumListReq",
mtlvs = {},
tlvs = {
},
},
[282] = {
name = "CsiBspNvmReadGroupReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "group_t1"
},
},
},
[283] = {
name = "CsiBspNvmReadGroupBlockReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "group_t1"
},
},
},
[284] = {
name = "CsiBspSwTrapReq_v2",
mtlvs = {1, 2, 3, 4},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "trap_id_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "delay_ms_t2"
},
[3] = {
codec = {
length = 1,
name = "UtaChar",
},
type_desc = "buf_t3"
},
[4] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "buf_size_t4"
},
},
},
[513] = {
name = "CsiBspSetNvItemsToStateRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[514] = {
name = "CsiBspGetCalibrationStatusRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "status_t2"
},
},
},
[516] = {
name = "CsiIceFilerReadRspCb",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "uta_result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "size_t2"
},
[3] = {
codec = {
length = 3072,
name = "CsiIceFilerDataParam",
},
type_desc = "data_t3"
},
},
},
[517] = {
name = "CsiIceFilerWriteRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "uta_result_t1"
},
},
},
[518] = {
name = "CsiFpRegisterRsp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_FP_RESULT",
},
type_desc = "result_t1"
},
},
},
[519] = {
name = "CsiFpSnapshotRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_FP_RESULT",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "update_pending_t2"
},
},
},
[520] = {
name = "CsiFpUpdateAckRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_FP_RESULT",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "update_pending_t2"
},
},
},
[521] = {
name = "CsiFpUpdateHeaderData",
mtlvs = {1, 2, 3},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_FP_RESULT",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 80,
name = "CsiFlashPluginHeader",
},
type_desc = "p_header_array_t2"
},
[3] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "length_t3"
},
},
},
[522] = {
name = "CsiFpGetStatusRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_FP_RESULT",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 72,
name = "CsiFlashPluginStatusAll",
},
type_desc = "status_all_t2"
},
},
},
[523] = {
name = "CsiIceAtRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_ICE_AT_RESULT",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 3076,
name = "CsiIceAtStringPayload",
},
type_desc = "p_at_payload_t2"
},
},
},
[524] = {
name = "CsiMonMemoryStatusRspCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "memory_status_t1"
},
[2] = {
codec = {
length = 24,
name = "CSI_ICE_MON_MEMORY_INFO_T",
},
type_desc = "memory_info_t2"
},
},
},
[525] = {
name = "CsiBspShutdownRspCb",
mtlvs = {},
tlvs = {
},
},
[526] = {
name = "CsiBspSwTrapRspCb",
mtlvs = {},
tlvs = {
},
},
[528] = {
name = "CsiCddGetDebugLogRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "CsiCddDumpLogInfo",
},
type_desc = "debug_log_data_t1"
},
},
},
[529] = {
name = "CsiCddGetParamDumpRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "CsiCddParamDumpInfo",
},
type_desc = "param_dump_data_t1"
},
},
},
[530] = {
name = "CsiSahGetCrashReportRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 8,
name = "CsiSahCrashReportInfo",
},
type_desc = "report_data_t1"
},
},
},
[531] = {
name = "CsiSahClearCrashResportRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "result_t1"
},
},
},
[532] = {
name = "CsiSahGetDebugLogRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4104,
name = "CsiSahDebugLogInfo",
},
type_desc = "debug_log_data_t1"
},
},
},
[533] = {
name = "CsiIceAtExtRsp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "CSI_ICE_AT_RESULT",
},
type_desc = "result_t1"
},
[2] = {
codec = {
length = 3084,
name = "CsiIceAtExtStringPayload",
},
type_desc = "p_at_ext_payload_t2"
},
},
},
[534] = {
name = "CsiIceBspSetApWakeIntervalRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[537] = {
name = "CsiBspNvmGroupEnumListRespCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "return_value_t1"
},
[2] = {
codec = {
length = 3504,
name = "CsiBspNvmGroupDataType",
},
type_desc = "list_t2"
},
},
},
[538] = {
name = "CsiBspNvmReadGroupRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "return_value_t1"
},
},
},
[539] = {
name = "CsiBspNvmReadGroupBlockRespCb",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaInt32",
},
type_desc = "return_value_t1"
},
[2] = {
codec = {
length = 3504,
name = "CsiBspNvmGroupDataType",
},
type_desc = "data_t2"
},
},
},
[540] = {
name = "CsiBspSwTrapRspCb_v2",
mtlvs = {},
tlvs = {
},
},
[791] = {
name = "CsiIceBspWakeInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "counter_t1"
},
},
},
[792] = {
name = "CsiFpPrioSyncReqInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "counter_t1"
},
},
},
[793] = {
name = "CsiIceBspShutdownInd",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "counter_t1"
},
},
},
},
[63] = {
["name"] = "_ARIMSGDEF_GROUP63_security",
[257] = {
name = "CsiIceStartProvisionReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4000,
name = "CsiIceProvisionPubkeyType",
},
type_desc = "pubkey_t1"
},
},
},
[258] = {
name = "CsiIceFinishProvisionReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 3074,
name = "CsiIceProvisionManifestType",
},
type_desc = "manifest_t1"
},
},
},
[259] = {
name = "CsiIceGetManifestStatusReq",
mtlvs = {},
tlvs = {
},
},
[260] = {
name = "CsiSecGetChipIdReq",
mtlvs = {},
tlvs = {
},
},
[261] = {
name = "CsiSecGetPkHashReq",
mtlvs = {},
tlvs = {
},
},
[262] = {
name = "CsiIceGetFactoryDebugEnabledReq",
mtlvs = {},
tlvs = {
},
},
[263] = {
name = "CsiIceSecActivationRegisterReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "register__t1"
},
},
},
[264] = {
name = "CsiIceSecActivationTicketSetReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 2050,
name = "CsiIceSecActivationManifestType",
},
type_desc = "activation_manifest_t1"
},
},
},
[265] = {
name = "CsiIceSecSendRFSelfTestTicketReq",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 1026,
name = "CsiIceSecRFSelfTestTicketType",
},
type_desc = "manifest_t1"
},
},
},
[266] = {
name = "CsiSecGetRFSelfTestNonceReq",
mtlvs = {},
tlvs = {
},
},
[513] = {
name = "CsiIceStartProvisionResp",
mtlvs = {1, 2, 3, 4, 5, 6},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "chipid_t1"
},
[2] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "existing_manifest_t2"
},
[3] = {
codec = {
length = 18,
name = "CsiIceProvisionSNUMType",
},
type_desc = "snum_t3"
},
[4] = {
codec = {
length = 18,
name = "CsiIceProvisionIMEIType",
},
type_desc = "imei_t4"
},
[5] = {
codec = {
length = 1026,
name = "CsiIceProvisionEncSessionKeyType",
},
type_desc = "session_key_t5"
},
[6] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "status_t6"
},
[7] = {
codec = {
length = 18,
name = "CsiIceProvisionMEIDType",
},
type_desc = "meid_t7"
},
[8] = {
codec = {
length = 130,
name = "CsiIceProvisionIMEIMultipleType",
},
type_desc = "imei_multiple_t8"
},
},
},
[514] = {
name = "CsiIceFinishProvisionResp",
mtlvs = {1, 2},
tlvs = {
[1] = {
codec = {
length = 18,
name = "CsiIceProvisionIMEIType",
},
type_desc = "imei_t1"
},
[2] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "status_t2"
},
[3] = {
codec = {
length = 18,
name = "CsiIceProvisionMEIDType",
},
type_desc = "meid_t3"
},
[4] = {
codec = {
length = 130,
name = "CsiIceProvisionIMEIMultipleType",
},
type_desc = "imei_multiple_t4"
},
},
},
[515] = {
name = "CsiIceGetManifestStatusResp",
mtlvs = {1, 3, 5, 6},
tlvs = {
[1] = {
codec = {
length = 130,
name = "CsiIceProvisionSKeyHashType",
},
type_desc = "skey_hash_t1"
},
[2] = {
codec = {
length = 130,
name = "CsiIceProvisionCKeyHashType",
},
type_desc = "ckey_hash_t2"
},
[3] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "provision_status_t3"
},
[4] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "activation_status_t4"
},
[5] = {
codec = {
length = 2,
name = "UtaUInt16",
},
type_desc = "calibration_status_t5"
},
[6] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "status_t6"
},
},
},
[516] = {
name = "CsiSecGetChipIdRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "chipid_t1"
},
},
},
[517] = {
name = "CsiSecGetPkHashRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 34,
name = "CsiSecPkHashInfo",
},
type_desc = "PkHash_info_t1"
},
},
},
[518] = {
name = "CsiIceGetFactoryDebugEnabledResp",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaBool",
},
type_desc = "fde_enabled_t1"
},
},
},
[519] = {
name = "CsiIceSecActivationRegisterRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[520] = {
name = "CsiIceSecActivationTicketSetRespCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "result_t1"
},
},
},
[521] = {
name = "CsiIceSecSendRFSelfTestTicketRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t1"
},
},
},
[522] = {
name = "CsiSecGetRFSelfTestNonceRspCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 36,
name = "CsiSecNonce",
},
type_desc = "nonce_t1"
},
},
},
[775] = {
name = "CsiIceSecActivationRegisterIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "activation_state_t1"
},
[2] = {
codec = {
length = 130,
name = "CsiIceSecActivationPubkeyHashType",
},
type_desc = "activation_pubkey_hash_t2"
},
[3] = {
codec = {
length = 130,
name = "CsiIceSecFactoryActivationPubkeyHashType",
},
type_desc = "factory_activation_pubkey_hash_t3"
},
[4] = {
codec = {
length = 18,
name = "CsiIceProvisionIMEIType",
},
type_desc = "imei_t4"
},
[5] = {
codec = {
length = 10,
name = "CsiIceSecActivationVersionType",
},
type_desc = "activation_version_t5"
},
[6] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "hacktivation_state_t6"
},
[7] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "factory_debug_flag_t7"
},
[8] = {
codec = {
length = 10,
name = "CsiIceSecPriVersionType",
},
type_desc = "pri_version_slot1_t8"
},
[9] = {
codec = {
length = 10,
name = "CsiIceSecPriVersionType",
},
type_desc = "pri_version_slot2_t9"
},
[10] = {
codec = {
length = 26,
name = "CsiIceSecIccidType",
},
type_desc = "iccid_slot1_t10"
},
[11] = {
codec = {
length = 26,
name = "CsiIceSecImsiType",
},
type_desc = "imsi_slot1_t11"
},
[12] = {
codec = {
length = 26,
name = "CsiIceSecGidType",
},
type_desc = "gid1_slot1_t12"
},
[13] = {
codec = {
length = 26,
name = "CsiIceSecGidType",
},
type_desc = "gid2_slot1_t13"
},
[14] = {
codec = {
length = 26,
name = "CsiIceSecIccidType",
},
type_desc = "iccid_slot2_t14"
},
[15] = {
codec = {
length = 26,
name = "CsiIceSecImsiType",
},
type_desc = "imsi_slot2_t15"
},
[16] = {
codec = {
length = 26,
name = "CsiIceSecGidType",
},
type_desc = "gid1_slot2_t16"
},
[17] = {
codec = {
length = 26,
name = "CsiIceSecGidType",
},
type_desc = "gid2_slot2_t17"
},
[18] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "activation_mode_t18"
},
[19] = {
codec = {
length = 4,
name = "UtaUInt32",
},
type_desc = "failure_reason_t19"
},
[20] = {
codec = {
length = 12,
name = "CsiIceSecMoringaDataType",
},
type_desc = "moringa_data_t20"
},
[21] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "ota_service_provisioned_card_slot1_t21"
},
[22] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "ota_service_provisioned_card_slot2_t22"
},
[23] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "manifest_result_t23"
},
[24] = {
codec = {
length = 18,
name = "CsiIceProvisionIMEIType",
},
type_desc = "imei2_t24"
},
[25] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "dsds_allowed_t25"
},
[26] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "slot1_accepted_t26"
},
[27] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "slot2_accepted_t27"
},
[28] = {
codec = {
length = 18,
name = "CsiIceProvisionMEIDType",
},
type_desc = "meid_t28"
},
[29] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "slot1_is_embedded_t29"
},
[30] = {
codec = {
length = 1,
name = "UtaUInt8",
},
type_desc = "slot2_is_embedded_t30"
},
},
},
[776] = {
name = "CsiSecRFSelfTestCompletionIndCb",
mtlvs = {1},
tlvs = {
[1] = {
codec = {
length = 4,
name = "IBIUInt32",
},
type_desc = "result_t1"
},
},
},
},
}
|
object_tangible_furniture_flooring_tile_frn_flooring_tile_s66 = object_tangible_furniture_flooring_tile_shared_frn_flooring_tile_s66:new {
}
ObjectTemplates:addTemplate(object_tangible_furniture_flooring_tile_frn_flooring_tile_s66, "object/tangible/furniture/flooring/tile/frn_flooring_tile_s66.iff")
|
local typedefs = require "kong.db.schema.typedefs"
return {
token_to_header_extractor = {
name = "token_to_header_extractor",
primary_key = { "id" },
generate_admin_api = true,
fields = {
{ id = typedefs.uuid },
{ created_at = typedefs.auto_timestamp_s },
{ token_name = { type = "string", required = true, unique = false, auto = true }, },
{ token_value_name = { type = "string", required = true, unique = false, auto = true }, },
{ header_name = { type = "string", required = true, unique = false, auto = true }, },
},
},
} |
--ラーバモス
function c877563430.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(877563430,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,877563430)
e1:SetCondition(c877563430.condition)
e1:SetTarget(c877563430.target)
e1:SetOperation(c877563430.spop3)
c:RegisterEffect(e1)
--others
local e02=Effect.CreateEffect(c)
e02:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e02:SetType(EFFECT_TYPE_SINGLE)
e02:SetCode(EFFECT_CANNOT_SUMMON)
c:RegisterEffect(e02)
--local e03=e02:Clone()
--e03:SetCode(EFFECT_CANNOT_FLIP_SUMMON)
--c:RegisterEffect(e03)
local e04=e02:Clone()
e04:SetCode(EFFECT_CANNOT_MSET)
c:RegisterEffect(e04)
end
function c877563430.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsDestructable() end
if chk==0 then return true end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,Card.IsDestructable,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
end
function c877563430.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
function c877563430.spop3(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler()
local token=Duel.CreateToken(tp,14141448)
Duel.MoveToField(token,tp,tp,LOCATION_MZONE,c:GetPreviousPosition(),true)
token:SetStatus(STATUS_PROC_COMPLETE,true)
token:SetStatus(STATUS_SPSUMMON_TURN,true)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
end
end
--[[function c877563430.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCondition(c877563430.spcon)
e2:SetOperation(c877563430.spop)
c:RegisterEffect(e2)
end
function c877563430.eqfilter(c)
return c:IsCode(40240595) and c:GetTurnCounter()>=2
end
function c877563430.rfilter(c)
return c:IsCode(58192742) and c:GetEquipGroup():FilterCount(c877563430.eqfilter,nil)>0
end
function c877563430.spcon(e,c)
if c==nil then return true end
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>-1
and Duel.CheckReleaseGroup(c:GetControler(),c877563430.rfilter,1,nil)
end
function c877563430.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(c:GetControler(),c877563430.rfilter,1,1,nil)
Duel.Release(g,REASON_COST)
end
]] |
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('StoryBit', {
ActivationEffects = {},
Effects = {
PlaceObj('EnableRandomStoryBit', {
'StoryBits', {
"MartianVice_Crash",
"MartianVice_NoCrash",
},
'Weights', {
50,
50,
},
}),
},
Enables = {},
NotificationText = T(11378, --[[StoryBit MartianVice_NoCrash NotificationText]] "Another shuttle race has occurred"),
Prerequisites = {},
ScriptDone = true,
SuppressTime = 1440000,
TextReadyForValidation = true,
TextsDone = true,
group = "Renegades",
id = "MartianVice_NoCrash",
})
|
Names = Names or {}
-- @see https://en.wikipedia.org/wiki/Nymph
Names.greekAlphabet = {
"Alpha",
"Beta",
"Gamma",
"Delta",
"Epsilon",
"Zeta",
"Eta",
"Theta",
"Iota",
"Kappa",
"Lambda",
"Mu",
"Nu",
"Xi",
"Omicron",
"Pi",
"Rho",
"Sigma",
"Tau",
"Upsilon",
"Phi",
"Chi",
"Psi",
"Omega",
}
Names.greekTitans = {
"Asteria",
"Astraeus",
"Atlas",
"Coeus",
"Crius",
"Cronus",
"Eos",
"Epimetheus",
"Eurybia",
"Gaia",
"Hecate",
"Helios",
"Hesperus",
"Hyperion",
"Iapetus",
"Leto",
"Menoetius",
"Metis",
"Mnemosyne",
"Oceanus",
"Pallas",
"Perses",
"Phoebe",
"Phosphorus",
"Prometheus",
"Pontus",
"Rhea",
"Selene",
"Tethys",
"Theia",
"Themis",
"Uranus",
}
-- Sea Nymphs
-- @see https://en.wikipedia.org/wiki/Nereid
Names.greekNereids = {
"Actaea",
"Agaue",
"Amatheia",
"Amphinome",
"Amphithoe",
"Amphitrite",
"Apseudes",
"Arethusa",
"Asia",
"Autonoe",
"Beroe",
"Callianassa",
"Callianeira",
"Calypso",
"Ceto",
"Clio",
"Clymene",
"Cranto",
"Creneis",
"Cydippe",
"Cymo",
"Cymatolege",
"Cymodoce",
"Cymothoe",
"Deiopea",
"Dero",
"Dexamene",
"Dione",
"Doris",
"Doto",
"Drymo",
"Dynamene",
"Eione",
"Ephyra",
"Erato",
"Euagore",
"Euarne",
"Eucrante",
"Eudore",
"Eulimene",
"Eumolpe",
"Eunice",
"Eupompe",
"Eurydice",
"Galene",
"Galatea",
"Glauce",
"Glauconome",
"Halie",
"Halimede",
"Hipponoe",
"Hippothoe",
"Iaera",
"Ianassa",
"Ianeira",
"Ione",
"Iphianassa",
"Laomedeia",
"Leiagore",
"Leucothoe",
"Ligea",
"Limnoreia",
"Lycorias",
"Lysianassa",
"Maera",
"Melite",
"Menippe",
"Nausithoe",
"Nemertes",
"Neomeris",
"Nerea",
"Nesaea",
"Niso",
"Opis",
"Oreithyia",
"Panopea",
"Panope",
"Pasithea",
"Pherusa",
"Phyllodoce",
"Plexaure",
"Ploto",
"Polynome",
"Pontomedusa",
"Pontoporeia",
"Poulynoe",
"Pronoe",
"Proto",
"Protomedeia",
"Psamathe",
"Sao",
"Speio",
"Thaleia",
"Themisto",
"Thetis",
"Thoe",
"Xantho",
}
-- gods of the river
-- @see https://en.wikipedia.org/wiki/Potamoi
Names.greekPotamoi = {
"Achelous",
"Acheron",
"Acis",
"Acragas",
"Aeas",
"Aegaeus",
"Aesar",
"Aesepus",
"Almo",
"Alpheus",
"Amnisos",
"Amphrysos",
"Anapos",
"Anauros",
"Anigros",
"Apidanus",
"Arar",
"Araxes",
"Ardescus",
"Arnos",
"Ascanius",
"Asopus",
"Asterion",
"Axius",
"Baphyras",
"Borysthenes",
"Brychon",
"Caanthus",
"Caicinus",
"Caicus",
"Cayster",
"Cebren",
"Cephissus",
"Chremetes",
"Cladeus",
"Clitumnus",
"Cocytus",
"Cratais",
"Crinisus",
"Cydnos",
"Cytheros",
"Elisson",
"Enipeus",
"Erasinus",
"Eridanus",
"Erymanthus",
"Euphrates",
"Eurotas",
"Evenus",
"Ganges",
"Granicus",
"Haliacmon",
"Halys",
"Hebrus",
"Heptaporus",
"Hermus",
"Hydaspes",
"Ilissos",
"Imbrasos",
"Inachus",
"Indus",
"Inopos",
"Ismenus",
"Ister",
"Ladon",
"Lamos",
"Marsyas",
"Maeander",
"Meles",
"Mincius",
"Nessus",
"Nile",
"Numicius",
"Nymphaeus",
"Orontes",
"Pactolus",
"Parthenius",
"Phasis",
"Phlegethon",
"Phyllis",
"Peneus",
"Pleistos",
"Porpax",
"Rhesus",
"Rhine",
"Rhodius",
"Rhyndacus",
"Sagaris",
"Satnioeis",
"Scamander",
"Selemnus",
"Simoeis",
"Spercheus",
"Strymon",
"Symaethus",
"Tanais",
"Termessus",
"Thermodon",
"Tiberinus",
"Tigris",
"Titaressus",
} |
-- med.lua
-- Created by wugd
-- 登录相关模块
-- 声明模块名
ME_D = {}
setmetatable(ME_D, {__index = _G})
local _ENV = ME_D
local me_rid
local me_agent
local request = nil
local _enter_game = false
-- 进入游戏第一次更新玩家数据
function me_updated(agent, data)
local item_list = remove_get(data, "item_list") or {}
local equip_list = remove_get(data, "equip_list") or {}
-- 创建玩家
local user = PLAYER_TDCLS.new(data.user)
for k, v in pairs(agent.data) do
user:set_temp(k, v)
end
-- 关联玩家对象与连接对象
user:accept_relay(agent)
for _,v in ipairs(item_list) do
local obj = PROPERTY_D.clone_object_from(v.class_id, v)
user:load_property(obj)
end
for _,v in ipairs(equip_list) do
local obj = PROPERTY_D.clone_object_from(v.class_id, v)
user:load_property(obj)
end
-- 设置玩家心跳
user:set_heartbeat_interval(HEARTBEAT_INTERVAL)
raise_issue(EVENT_LOGIN_OK, user)
me_rid = get_ob_rid(user)
me_agent = user
end
function get_rid()
return me_rid
end
function get_user()
return (find_object_by_rid(me_rid))
end
function get_agent()
if not is_object(me_agent) then
me_agent = nil
_enter_game = false
end
return me_agent
end
function close_agent()
if is_object(me_agent) then
me_agent:connection_lost()
me_agent = nil
end
end
function set_agent(agent)
if not START_STREE_TEST then
close_agent()
end
me_agent = agent
end
function clear_request_message()
request = nil
end
function try_request_message()
local agent = get_agent()
if request ~= nil and agent ~= nil then
agent:send_message(unpack(request))
request = nil
end
end
function request_message(...)
local agent = get_agent()
if agent ~= nil then
if is_enter_game() then
agent:send_message(...)
else
request = { ... }
end
else
request = { ... }
--LOGIN_D.login()
end
end
function is_enter_game()
return _enter_game and get_agent() ~= nil
end
function set_enter_game(value)
_enter_game = value
end
-- 模块的入口执行
function create()
end
create()
|
local filesystem = require('gears.filesystem')
-- Thanks to jo148 on github for making rofi dpi aware!
local with_dpi = require('beautiful').xresources.apply_dpi
local get_dpi = require('beautiful').xresources.get_dpi
local rofi_command = 'env /usr/bin/rofi -no-cycle -dpi ' .. get_dpi() .. ' -width ' .. with_dpi(400) .. ' -show drun -theme ' .. filesystem.get_configuration_dir() .. '/configuration/rofi.rasi -run-command "/bin/bash -c -i \'shopt -s expand_aliases; {cmd}\'"'
return {
-- List of apps to start by default on some actions
default = {
terminal = 'env sakura',
rofi = rofi_command,
browser = 'env chromium',
editor = 'mousepad', -- gui text editor
files = 'pcmanfm',
}
} |
local fs = require('diagnosticls-configs.fs')
return {
sourceName = 'prettier_eslint',
command = fs.get_executable('prettier-eslint', 'node'),
args = { '--stdin', '--stdin-filepath', '%filepath' },
rootPatterns = { '.git' },
}
|
--[[
# **********************************************************************
# Conky Panels / NET
#
# A simple display panel to monitor network activity.
#
# Author: Vladislav Dmitrievich Turbanov
# Repository: https://github.com/vladipus/conky-panels
# License: BSD
#
# Some elements were based on this theme:
# http://www.teejeetech.in/2014/07/my-conky-themes-update-2.html
# **********************************************************************
This is needed to be detected in the "Conky Manager" app:
TEXT
]]
require(".common")
-- The network devices names. You may use 'sudo ifconfig' to list available.
devices = {'enp11s0'}
conky.config={
-- Positioning
alignment=ref_alignment,
gap_x=ref_pos_x,
gap_y=ref_pos_y+1095,
}
-- Merge common options.
for k,v in pairs(common_config) do conky.config[k] = v end
conky.text = ""
for index, device in pairs(devices) do
-- The network device name.
local device_name_template = [[
${color &{brand}}&{device}\
${goto 140}${color &{main}}${font FontAwesome:size=14} ${font}${downspeed &{device}}\
${goto 265}${color &{main}}${font FontAwesome:size=14} ${font}${upspeed &{device}}
]]
-- File systems usage items. Copy existing to add new. Delete the non-existing in your system.
conky.text = conky.text .. (device_name_template % {device=device})
-- Download speed graph.
local graph_template = [[
${color &{main}}${downspeedgraph &{device} 80,400 &{brand} &{main}}
${voffset -86}${goto 20}\
${color &{dimmed}}Download\
${voffset 48}
${color &{main}}${upspeedgraph &{device} 80,400 &{brand} &{main}}
${voffset -86}${goto 20}\
${color &{dimmed}}Upload\
${font}${voffset 71}
]]
conky.text = conky.text .. (graph_template % {device=device})
end
-- Bottom Padding --
-- Decrease the value after 'voffset' to bring the border up.
conky.text = conky.text .. "${voffset -110}"
-- The resulting template should be in this variable.
conky.text = (conky.text) % {brand=brand_color, main=main_color, dimmed=dimmed_color}
|
local M = {}
local fn = vim.fn
local fmt = string.format
---generate a custom highlight group
---@param index integer
---@param side string
---@param section table
---@param guibg string
local function create_hl(index, side, section, guibg)
local name = fmt("BufferLine%sCustomAreaText%d", side:gsub("^%l", string.upper), index)
local H = require("bufferline.highlights")
H.set_one(name, {
guifg = section.guifg,
guibg = section.guibg or guibg,
gui = section.gui,
})
return H.hl(name)
end
---Create tabline segment for custom user specified sections
---@param prefs table
---@return integer
---@return string
---@return string
function M.get(prefs)
local size = 0
local left = ""
local right = ""
---@type table<string,function>
local areas = prefs.options.custom_areas
if areas then
for side, section_fn in pairs(areas) do
if type(section_fn) ~= "function" then
return require("bufferline.utils").echoerr(fmt(
"each side should be a function but you passed in %s",
vim.inspect(side)
))
end
-- if the user doesn't specify a background use the default
local hls = prefs.highlights or {}
local guibg = hls.fill and hls.fill.guibg or nil
local ok, section = pcall(section_fn)
if ok and section and not vim.tbl_isempty(section) then
for i, item in ipairs(section) do
if item.text and type(item.text) == "string" then
local hl = create_hl(i, side, item, guibg)
size = size + fn.strwidth(item.text)
if side == "left" then
left = left .. hl .. item.text
else
right = right .. hl .. item.text
end
end
end
end
end
end
return size, left, right
end
return M
|
-- sites to look at
-- https://www.shadertoy.com/view/4dfGDM
-- https://github.com/shiffman/The-Nature-of-Code-Cosmos-Edition/blob/master/stars/StarNestShaderDome/data/stars.glsl
-- http://glsl.heroku.com/
local myShader = nil
local time
function love.load()
time = 0
myShader = love.graphics.newShader[[
extern number time;
vec4 effect( vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords ){
// Star Nest by Pablo Román Andrioli
// Modified a lot.
// This content is under the MIT License.
#define iterations 15
#define formuparam 0.530
#define volsteps 10
#define stepsize 0.120
#define zoom 1.900
#define tile 0.850
#define speed 0.0
#define brightness 0.0015
#define darkmatter 0.400
#define distfading 0.760
#define saturation 0.0010
// changed these two lines for lua
vec2 uv=screen_coords.xy/love_ScreenSize.xy-.5;
uv.y*=love_ScreenSize.y/love_ScreenSize.x;
vec3 dir=vec3(uv*zoom,1.);
float a2=time*speed+.5;
float a1=0.0;
mat2 rot1=mat2(cos(a1),sin(a1),-sin(a1),cos(a1));
mat2 rot2=rot1;//mat2(cos(a2),sin(a2),-sin(a2),cos(a2));
dir.xz*=rot1;
dir.xy*=rot2;
//from.x-=time;
//mouse movement
vec3 from=vec3(0.,0.,0.);
from+=vec3(.05*time,.05*time,-2.);
from.xz*=rot1;
from.xy*=rot2;
//volumetric rendering
float s=.1,fade=.2;
vec3 v=vec3(0.4);
for (int r=0; r<volsteps; r++) {
vec3 p=from+s*dir*.5;
p = abs(vec3(tile)-mod(p,vec3(tile*2.))); // tiling fold
float pa,a=pa=0.;
for (int i=0; i<iterations; i++) {
p=abs(p)/dot(p,p)-formuparam; // the magic formula
a+=abs(length(p)-pa); // absolute sum of average change
pa=length(p);
}
float dm=max(0.,darkmatter-a*a*.001); //dark matter
a*=a*a*2.; // add contrast
if (r>3) fade*=1.-dm; // dark matter, don't render near
//v+=vec3(dm,dm*.5,0.);
v+=fade;
v+=vec3(s,s*s,s*s*s*s)*a*brightness*fade; // coloring based on distance
fade*=distfading; // distance fading
s+=stepsize;
}
v=mix(vec3(length(v)),v,saturation); //color adjust
return vec4(v*.01,1.);
}
]]
end
function love.update(dt)
time = time + dt;
myShader:send("time",time)
end
function love.draw()
love.graphics.setShader(myShader)
love.graphics.rectangle("fill", 0, 0, 800, 600 )
love.graphics.setShader()
end |
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'
configs.perlls = {
default_config = {
cmd = {"perl",
"-MPerl::LanguageServer",
"-e", "Perl::LanguageServer::run","--",
"--port 13603", "--nostdio 0", "--version 2.1.0"};
settings = {
perl = {
perlCmd = 'perl';
perlInc = ' ';
fileFilter = {".pm",".pl"};
ignoreDirs = '.git';
};
};
filetypes = {"perl"};
root_dir = function(fname)
return util.root_pattern(".git")(fname) or vim.fn.getcwd()
end;
};
docs = {
package_json = "https://raw.githubusercontent.com/richterger/Perl-LanguageServer/master/clients/vscode/perl/package.json";
description = [[
https://github.com/richterger/Perl-LanguageServer/tree/master/clients/vscode/perl
`Perl-LanguageServer`, a language server for Perl.
To use the language server, ensure that you have Perl::LanguageServer installed and perl command is on your path.
]];
default_config = {
root_dir = "vim's starting directory";
};
};
};
-- vim:et ts=2 sw=2
|
local connect = require('websocket-client')
local registry = require('types')
local makeRpc = require('rpc')
local codec = require('websocket-to-message')
local log = require('log').log
-- config.id - agent id
-- config.token - agent auth token
-- config.proxy - ws(s):// url to proxy server without path
-- config.ca - cert used to verify proxy server (in place of public root certs)
return function(config)
local url = config.proxy .. "/enlist/" .. config.id .. "/" .. config.token
log(4, "Connecting to aep", url)
local options = {}
if config.ca then
options.tls = { ca = config.ca }
end
local read, write, socket = assert(connect(url, "schema-rpc", options))
log(4, "connected", socket:getpeername())
read, write = codec(read, write)
local api = makeRpc(registry.call, log, read, write)
local function onCommand(key, command, ...)
log(5, "got command", key, command, ...)
api.call(key, command, ...)
end
require('command-sock')(config.localSock, onCommand)
api.readLoop()
log(4, "disconnecting...")
write()
if not socket:is_closing() then
socket:close()
end
end
|
-- FZF (ctrl+p)
vim.api.nvim_set_keymap("n", "<C-p>", ":FZF<CR>", {noremap = true, silent = true})
-- Leader <space>
vim.g.mapleader = " "
-- Toggle NERDTree
vim.api.nvim_set_keymap("n", "<leader>t", ":NERDTreeToggle<CR>", {noremap = true, silent = true})
-- Makrdown Preview
vim.api.nvim_set_keymap("n", "<Leader>m", ":MarkdownPreviewToggle<CR>", {noremap = true, silent = true})
-- Open a new Bash instance.
-- Will also load user profile.
vim.api.nvim_set_keymap("n", "<leader>b", ":term NO_DEFAULT_SSH=0 bash -l<CR>a", {noremap = true, silent = true})
-- Toggle spell checking
vim.api.nvim_set_keymap("n", "<leader>s", ":setlocal nospell! nospell?<CR>", {noremap = true, silent = false})
-- Emmet
-- vim.api.nvim_set_keymap("n", "<leader>m", "<C-y>", {noremap = true, silent = true})
-- Pressing * in visual mode will expand using the current selection rather than the current word
vim.api.nvim_set_keymap("v", "*", "y/<C-R>\"<CR>", {noremap = true, silent = true})
-- Unbind arrow keys
vim.api.nvim_set_keymap("n", "<Left>", ":echo \"No! Don't use the arrow keys! Bad!\"<CR>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("n", "<Right>", ":echo \"No! Don't use the arrow keys! Bad!\"<CR>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("n", "<Up>", ":echo \"No! Don't use the arrow keys! Bad!\"<CR>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("n", "<Down>", ":echo \"No! Don't use the arrow keys! Bad!\"<CR>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("v", "<Left>", "<Nop>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("v", "<Right>", "<Nop>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("v", "<Up>", "<Nop>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("v", "<Down>", "<Nop>", {noremap = true, silent = false})
vim.api.nvim_set_keymap("i", "<Left>", "<Esc>:echo \"No! Don't use the arrow keys! Bad!\"<CR>a", {noremap = true, silent = false})
vim.api.nvim_set_keymap("i", "<Right>", "<Esc>:echo \"No! Don't use the arrow keys! Bad!\"<CR>a", {noremap = true, silent = false})
vim.api.nvim_set_keymap("i", "<Up>", "<Esc>:echo \"No! Don't use the arrow keys! Bad!\"<CR>a", {noremap = true, silent = false})
vim.api.nvim_set_keymap("i", "<Down>", "<Esc>:echo \"No! Don't use the arrow keys! Bad!\"<CR>a", {noremap = true, silent = false})
-- Fix Y by selecting rest of the line instead of entire line
vim.api.nvim_set_keymap("n", "Y", "y$", {noremap = true, silent = true})
-- Keep cursor centered when searching
vim.api.nvim_set_keymap("n", "n", "nzzzv", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "N", "Nzzzv", {noremap = true, silent = true})
-- Keep cursor centered when J
vim.api.nvim_set_keymap("n", "J", "myJ`y", {noremap = true, silent = true})
-- Undo break points
vim.api.nvim_set_keymap("i", ",", ",<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", ".", ".<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", ";", ";<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", "?", "?<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", "!", "!<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", "|", "|<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", "/", "/<c-g>u", {noremap = true, silent = true})
vim.api.nvim_set_keymap("i", "\\", "\\<c-g>u", {noremap = true, silent = true})
-- Move lines quickly
vim.api.nvim_set_keymap("v", "J", ":m '>+1<CR>gv=gv", {noremap = true, silent = true})
vim.api.nvim_set_keymap("v", "K", ":m '<-2<CR>gv=gv", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "<Leader>j", ":m .+1<CR>==", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "<Leader>k", ":m .-2<CR>==", {noremap = true, silent = true})
-- Quickfix list traversal
vim.api.nvim_set_keymap("n", "<Leader>qj", ":cnext<CR>", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "<Leader>qk", ":cprevious<CR>", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "<Leader>ql", ":clast<CR>", {noremap = true, silent = true})
vim.api.nvim_set_keymap("n", "<Leader>qh", ":cfirst<CR>", {noremap = true, silent = true})
|
--
-- User: pat
-- Date: 10/22/15
--
local NoUpdateLookupTable, parent = torch.class('nn.NoUpdateLookupTable', 'nn.LookupTable')
function NoUpdateLookupTable:accGradParameters(input, gradOutput, scale)
end
function NoUpdateLookupTable:updateParameters(learningRate)
end |
local function handleTarget(unit)
unit = unit or "target"
if not UnitExists(unit) then
return
end
-- Bail out if target is not a rare/rareelite
local targetType = UnitClassification(unit)
if targetType ~= "rare" and targetType ~= "rareelite" then return end
local rareName, _ = UnitName(unit)
local rareHealth = RareShare:ToInt(UnitHealth(unit) / UnitHealthMax(unit) * 100)
SetMapToCurrentZone()
local rareX, rareY = GetPlayerMapPosition("player")
rareX = RareShare:ToInt(rareX * 100 + .5)
rareY = RareShare:ToInt(rareY * 100 + .5)
local rareID = RareShare:UnitID(unit)
if rareHealth < 1 then return end
local rare = {
ID = RareShare:ToInt(rareID),
Name = rareName,
Zone = GetZoneText(),
EventType = "Alive",
Health = rareHealth,
X = rareX,
Y = rareY,
Time = time(),
AllowAnnouncing = true,
SourceCharacter = UnitName("player"),
SourcePublisher = "RareShareTargettedMob"
}
RareShare:Publish(rare)
end
local function handleTargetHealth(unit)
if unit == "target" then
handleTarget()
end
end
local function handleMouseover()
handleTarget("mouseover")
end
local function onEvent(self, event, ...)
if event == "PLAYER_TARGET_CHANGED" then
handleTarget()
end
if event == "UNIT_HEALTH" then
handleTargetHealth(...)
end
if event == "UPDATE_MOUSEOVER_UNIT" then
handleMouseover()
end
end
-- We want to provide updates even if the rare health is not changing (eg. player chasing Evermaw around)
-- but we don't want to do this every frame, so just poll every 5 seconds
local timeTillUpdate = 5.0
local function onUpdate(self, elapsed)
-- Do absolutely nothing if there's no target
if not UnitExists("target") then return end
-- Count down till next required update
timeTillUpdate = timeTillUpdate - elapsed
if timeTillUpdate < 0 then
timeTillUpdate = 5.0
handleTarget()
end
end
local frame = CreateFrame("MessageFrame", "RareShareTargettedMob")
frame:SetScript("OnEvent", onEvent)
frame:SetScript("OnUpdate", onUpdate)
frame:RegisterEvent("PLAYER_TARGET_CHANGED")
frame:RegisterEvent("UNIT_HEALTH")
frame:RegisterEvent("UPDATE_MOUSEOVER_UNIT")
|
-----------------------------------
-- Area: Behemoth's Dominion
-- HNM: Behemoth
-----------------------------------
local ID = require("scripts/zones/Behemoths_Dominion/IDs")
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/titles")
-----------------------------------
function onMobSpawn(mob)
if LandKingSystem_NQ > 0 or LandKingSystem_HQ > 0 then
GetNPCByID(ID.npc.BEHEMOTH_QM):setStatus(tpz.status.DISAPPEAR)
end
if LandKingSystem_HQ == 0 then
SetDropRate(270, 3342, 0) -- do not drop savory_shank
end
mob:setLocalVar("[rage]timer", 1800) -- 30 minutes
end
function onMobDeath(mob, player, isKiller)
player:addTitle(tpz.title.BEHEMOTHS_BANE)
end
function onMobDespawn(mob)
local ToD = GetServerVariable("[POP]King_Behemoth")
local kills = GetServerVariable("[PH]King_Behemoth")
local popNow = (math.random(1, 5) == 3 or kills > 6)
if LandKingSystem_HQ ~= 1 and ToD <= os.time() and popNow then
-- 0 = timed spawn, 1 = force pop only, 2 = BOTH
if LandKingSystem_NQ == 0 then
DisallowRespawn(ID.mob.BEHEMOTH, true)
end
DisallowRespawn(ID.mob.KING_BEHEMOTH, false)
UpdateNMSpawnPoint(ID.mob.KING_BEHEMOTH)
GetMobByID(ID.mob.KING_BEHEMOTH):setRespawnTime(75600 + math.random(0, 6) * 1800) -- 21 - 24 hours with half hour windows
else
if LandKingSystem_NQ ~= 1 then
UpdateNMSpawnPoint(ID.mob.BEHEMOTH)
GetMobByID(ID.mob.BEHEMOTH):setRespawnTime(75600 + math.random(0, 6) * 1800) -- 21 - 24 hours with half hour windows
SetServerVariable("[PH]King_Behemoth", kills + 1)
end
end
end
|
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('StoryBit', {
ActivationEffects = {},
Effects = {
PlaceObj('RewardPrefab', {
'Amount', 1,
'Prefab', "TriboelectricScrubber",
}),
PlaceObj('RewardTechBoost', {
'Field', "Physics",
'Research', "TriboelectricScrubbing",
'Amount', 10,
}),
},
MainMapExclusive = false,
Prerequisites = {},
ScriptDone = true,
SuppressTime = 3600000,
Text = T(857899493605, --[[StoryBit Prototype_Scrubber_Success Text]] "<effect>Triboelectric Scrubber prefab has been added. Insights gained from the project have resulted in a <tech_boost>% progress towards the Triboelectric Scrubbing technology."),
TextReadyForValidation = true,
TextsDone = true,
VoicedText = T(846305562522, --[[voice:narrator]] "Our Scientists have succeeded in building the prototype Triboelectric Scrubber."),
group = "Buildings",
id = "Prototype_Scrubber_Success",
qa_info = PlaceObj('PresetQAInfo', {
data = {
{
action = "Modified",
time = 1637247374,
},
},
}),
PlaceObj('StoryBitParamPercent', {
'Name', "tech_boost",
'Value', 10,
}),
})
|
local M = {}
local Z = {}
function M.init(use)
use {
'nvim-lualine/lualine.nvim',
requires = 'kyazdani42/nvim-web-devicons',
}
return Z;
end
local function diff_source()
local gitsigns = vim.b.gitsigns_status_dict
if gitsigns then
return {
added = gitsigns.added,
modified = gitsigns.changed,
removed = gitsigns.removed
}
end
end
function Z.setup()
local ok, lib = pcall(require, "lualine")
if not ok then
return;
end
lib.setup({
options = {
icons_enabled = true,
theme = 'auto',
component_separators = { left = '▎', right = '▎'},
section_separators = { left = '', right = ''},
disabled_filetypes = {},
always_divide_middle = true,
},
sections = {
lualine_a = {'mode'},
-- lualine_b = {'branch', 'diff',
lualine_b = { {'b:gitsigns_head', icon = ''}, {'diff', source = diff_source },
{'diagnostics', sources={'nvim_diagnostic', 'coc'}}},
lualine_c = {'filename'},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {},
extensions = {}
})
end
return M
|
--Start of Global Scope---------------------------------------------------------
local DOT_DECO = View.ShapeDecoration.create()
DOT_DECO:setLineColor(255, 255, 255) -- white
DOT_DECO:setPointSize(0.5)
local EDGE_DECO = View.ShapeDecoration.create()
EDGE_DECO:setLineColor(59, 156, 208) -- blue
EDGE_DECO:setLineWidth(0.1)
EDGE_DECO:setPointSize(0.5)
local LINE_DECO = View.ShapeDecoration.create()
LINE_DECO:setLineColor(242, 148, 0) -- orange
LINE_DECO:setLineWidth(0.1)
LINE_DECO:setPointSize(0.1)
local ANGLE_TO_AGGREGATE = 5 * math.pi / 180 -- 5 degree
local MIN_LENGTH = 0.75 -- min length between to edge points in mm
-- Pause between visualization, for demonstration purpose
local DELAY = 50
--End of Global Scope-----------------------------------------------------------
local function profileToPolyline(profile, spaceBetweenPoints)
if not profile then return {} end
spaceBetweenPoints = spaceBetweenPoints or 1
local polyline
local pointBuff = {}
for i = 0, profile:getSize() - 1 do
local x = i * spaceBetweenPoints
local y = Profile.getValue(profile, i)
pointBuff[#pointBuff + 1] = Point.create(x, y)
end
if #pointBuff > 0 then
polyline = Shape.createPolyline(pointBuff, false)
end
return polyline
end
local function main()
local heightMap = Object.load('resources/tabAerator.json')
local pxSizeX, _, _ = heightMap:getPixelSize()
-- Floor level can be calculated using the histogram
local floorLevel = 20.6
-- Fill all missing data with the floor level
heightMap = heightMap:missingDataSetAll(floorLevel)
-- Center can be calculated by image processing (i.e. Shape fitter)
local center = Point.create(2.11, 19.47)
-----------------------------------------------
-- Scan the model -----------------------------
-----------------------------------------------
local baseScanLine = Shape.createLineSegment(center:subtract(Point.create(-15, 0)),
center:subtract(Point.create(15, 0)))
local curAngle = 0
while true do
-----------------------------------------------
-- Aggregate multiple angles into one profile -
-----------------------------------------------
local profilesToAggregate = {}
for i = 0, 9 do
local scanLine = baseScanLine:rotate(curAngle + ANGLE_TO_AGGREGATE / 10 * i, center)
profilesToAggregate[#profilesToAggregate + 1] = heightMap:extractProfile(scanLine, 30 / pxSizeX)
end
local scannedProfile = Profile.aggregate(profilesToAggregate, 'MEDIAN')
-- Binarize to upper end of the model to extract the two outer rings (higher then the inlet)
scannedProfile = scannedProfile:binarize(floorLevel + 15)
-----------------------------------------------
-- Search edges on the min-level --------------
-----------------------------------------------
local startIndex = nil
local valueToSearch = scannedProfile:getMin()
local edgeIndices = {}
for index = 0, scannedProfile:getSize() - 1 do
if scannedProfile:getValue(index) == valueToSearch then
startIndex = startIndex or index
else
if startIndex and (index - 1 - startIndex) * pxSizeX >= MIN_LENGTH then
edgeIndices[#edgeIndices + 1] = startIndex
edgeIndices[#edgeIndices + 1] = index - 1
end
startIndex = nil
end
end
if startIndex and (scannedProfile:getSize() - 1 - startIndex) * pxSizeX >= MIN_LENGTH then
edgeIndices[#edgeIndices + 1] = startIndex
edgeIndices[#edgeIndices + 1] = scannedProfile:getSize() - 1
end
-----------------------------------------------
-- Visualization ------------------------------
-----------------------------------------------
local edgePoints = {}
for _, index in pairs(edgeIndices) do
edgePoints[#edgePoints + 1] = Point.create(index * pxSizeX, scannedProfile:getValue(index))
end
local profileLine = profileToPolyline(scannedProfile, pxSizeX)
local centerProfile = Point.create(scannedProfile:getSize() * pxSizeX / 2, 0)
local profileTransformation = Transform.createRigid2D(curAngle, center:getX() - centerProfile:getX(),
center:getY() - centerProfile:getY() , centerProfile)
profileLine = Shape.transform(profileLine, profileTransformation)
edgePoints = Point.transform(edgePoints, profileTransformation)
local v = View.create()
v:clear()
local imageID = v:addImage(heightMap)
v:addShape(center, DOT_DECO, nil, imageID)
v:addShape(profileLine, LINE_DECO, nil, imageID)
for _, point in ipairs(edgePoints) do
v:addShape(point, EDGE_DECO, nil, imageID)
end
v:present()
curAngle = (curAngle + ANGLE_TO_AGGREGATE) % (2 * math.pi)
Script.sleep(DELAY)
end
end
Script.register('Engine.OnStarted', main)
-- serve API in global scope
|
--[[
Mana 1.0.2
This mod adds mana to players, a special attribute
License: WTFPL
]]
--[===[
Initialization
]===]
mana = {}
mana.playerlist = {}
mana.settings = {}
mana.settings.default_max = 200
mana.settings.default_regen = 10
mana.settings.regen_timer = 10
do
local default_max = tonumber(minetest.setting_get("mana_default_max"))
if default_max ~= nil then
mana.settings.default_max = default_max
end
local default_regen = tonumber(minetest.setting_get("mana_default_regen"))
if default_regen ~= nil then
mana.settings.default_regen = default_regen
end
local regen_timer = tonumber(minetest.setting_get("mana_regen_timer"))
if regen_timer ~= nil then
mana.settings.regen_timer = regen_timer
end
end
minetest.mkdir(minetest.get_worldpath() .. "/mana/")
--[===[
API functions
]===]
function mana.set(playername, value)
if value < 0 then
minetest.log("info", "[mana] Warning: mana.set was called with negative value!")
value = 0
end
value = mana.round(value)
if value > mana.playerlist[playername].maxmana then
value = mana.playerlist[playername].maxmana
end
if mana.playerlist[playername].mana ~= value then
mana.playerlist[playername].mana = value
mana.hud_update(playername)
end
end
function mana.setmax(playername, value)
if value < 0 then
value = 0
minetest.log("info", "[mana] Warning: mana.setmax was called with negative value!")
end
value = mana.round(value)
if mana.playerlist[playername].maxmana ~= value then
mana.playerlist[playername].maxmana = value
if(mana.playerlist[playername].mana > value) then
mana.playerlist[playername].mana = value
end
mana.hud_update(playername)
end
end
function mana.setregen(playername, value)
mana.playerlist[playername].regen = value
end
function mana.get(playername)
return mana.playerlist[playername].mana
end
function mana.getmax(playername)
return mana.playerlist[playername].maxmana
end
function mana.getregen(playername)
return mana.playerlist[playername].regen
end
function mana.add_up_to(playername, value)
local t = mana.playerlist[playername]
value = mana.round(value)
if(t ~= nil and value >= 0) then
local excess
if((t.mana + value) > t.maxmana) then
excess = (t.mana + value) - t.maxmana
t.mana = t.maxmana
else
excess = 0
t.mana = t.mana + value
end
mana.hud_update(playername)
return true, excess
else
return false
end
end
function mana.add(playername, value)
local t = mana.playerlist[playername]
value = mana.round(value)
if(t ~= nil and ((t.mana + value) <= t.maxmana) and value >= 0) then
t.mana = t.mana + value
mana.hud_update(playername)
return true
else
return false
end
end
function mana.subtract(playername, value)
local t = mana.playerlist[playername]
value = mana.round(value)
if(t ~= nil and t.mana >= value and value >= 0) then
t.mana = t.mana -value
mana.hud_update(playername)
return true
else
return false
end
end
function mana.subtract_up_to(playername, value)
local t = mana.playerlist[playername]
value = mana.round(value)
if(t ~= nil and value >= 0) then
local missing
if((t.mana - value) < 0) then
missing = math.abs(t.mana - value)
t.mana = 0
else
missing = 0
t.mana = t.mana - value
end
mana.hud_update(playername)
return true, missing
else
return false
end
end
--[===[
File handling, loading data, saving data, setting up stuff for players.
]===]
-- Load the playerlist from a previous session, if available.
function mana.load_file(playername)
local filepath = minetest.get_worldpath().."/mana/" .. playername
local file = io.open(filepath, "r")
if file then
minetest.log("action", "[mana] File opened for player " .. playername .. ".")
local string = file:read()
io.close(file)
if(string ~= nil) then
local savetable = minetest.deserialize(string)
if savetable and type(savetable) == "table" then
minetest.log("action", "[mana] Data successfully read.")
return savetable
end
end
end
return {}
end
mana.playerlist = {}
function mana.save_to_file(playername)
local savetable = mana.playerlist[playername]
local savestring = minetest.serialize(savetable)
local filepath = minetest.get_worldpath().."/mana/" .. playername
local file = io.open(filepath, "w")
if file then
file:write(savestring)
io.close(file)
minetest.log("action", "[mana] Wrote mana data for "..playername..".")
else
minetest.log("error", "[mana] Failed to write mana data for "..playername..".")
end
end
minetest.register_on_respawnplayer(function(player)
local playername = player:get_player_name()
mana.set(playername, 0)
mana.hud_update(playername)
end)
minetest.register_on_leaveplayer(function(player)
local playername = player:get_player_name()
if not minetest.get_modpath("hudbars") ~= nil then
mana.hud_remove(playername)
end
mana.save_to_file(playername)
end)
minetest.register_on_shutdown(function()
minetest.log("action", "[mana] Server shuts down. Rescuing data into mana.mt")
for _, pref in pairs(minetest.get_connected_players()) do
mana.save_to_file(pref:get_player_name())
end
end)
minetest.register_on_joinplayer(function(player)
local playername = player:get_player_name()
mana.playerlist[playername] = mana.load_file(playername)
if not mana.playerlist[playername].mana then
mana.playerlist[playername].mana = 0
mana.playerlist[playername].maxmana = mana.settings.default_max
mana.playerlist[playername].regen = mana.settings.default_regen
mana.playerlist[playername].remainder = 0
end
if minetest.get_modpath("hudbars") ~= nil then
hb.init_hudbar(player, "mana", mana.get(playername), mana.getmax(playername))
else
mana.hud_add(playername)
end
end)
--[===[
Mana regeneration
]===]
mana.regen_timer = 0
function mana_regen_step()
local players = minetest.get_connected_players()
for i=1, #players do
local name = players[i]:get_player_name()
if mana.playerlist[name] ~= nil then
if players[i]:get_hp() > 0 then
local plus = mana.playerlist[name].regen
-- Compability check for version <= 1.0.2 which did not have the remainder field
if mana.playerlist[name].remainder ~= nil then
plus = plus + mana.playerlist[name].remainder
end
local plus_now = math.floor(plus)
local floor = plus - plus_now
if plus_now > 0 then
mana.add_up_to(name, plus_now)
else
mana.subtract_up_to(name, math.abs(plus_now))
end
mana.playerlist[name].remainder = floor
end
end
end
minetest.after(mana.settings.regen_timer, mana_regen_step)
end
minetest.after(0, mana_regen_step)
--[===[
HUD functions
]===]
if minetest.get_modpath("hudbars") ~= nil then
hb.register_hudbar("mana", 0xFFFFFF, "Mana", { bar = "mana_bar_purple.png", icon = "mana_icon_purple.png", bgicon = "mana_bgicon.png" }, 0, mana.settings.default_max, false)
function mana.hud_update(playername)
local player = minetest.get_player_by_name(playername)
if player ~= nil then
hb.change_hudbar(player, "mana", mana.get(playername), mana.getmax(playername))
end
end
function mana.hud_remove(playername)
end
else
function mana.manastring(playername)
return string.format("Mana: %d/%d", mana.get(playername), mana.getmax(playername))
end
function mana.hud_add(playername)
local player = minetest.get_player_by_name(playername)
player:hud_add({
hud_elem_type = "statbar",
position = {x=0.5,y=1},
size = {x=24, y=24},
text = "mana_icon_bg_empty.png",
number = 20,
alignment = {x=-1,y=-1},
offset = {x=80, y=-186},
}
)
local id = player:hud_add({
hud_elem_type = "statbar",
position = {x=0.5,y=1},
size = {x=24, y=24},
text = "mana_icon_purple.png",
number = mana.get(playername)/10,
alignment = {x=-1,y=-1},
offset = {x=80, y=-186},
}
)
mana.playerlist[playername].hudid = id
return id
end
function mana.hud_update(playername)
local player = minetest.get_player_by_name(playername)
player:hud_change(mana.playerlist[playername].hudid, "number", mana.get(playername)/100)
end
function mana.hud_remove(playername)
local player = minetest.get_player_by_name(playername)
player:hud_remove(mana.playerlist[playername].hudid)
end
end
--[===[
Helper functions
]===]
mana.round = function(x)
return math.ceil(math.floor(x+0.5))
end
|
local AddonName, AddonTable = ...
AddonTable.bfd = {
-- Ghamoo-Ra
151433, -- Thick Shellplate Shoulders
6907, -- Tortoise Armor
6908, -- Ghamoo-Ra's Bind
151432, -- Twilight Turtleskin Leggings
-- Domina
11121, -- Darkwater Talwar
3078, -- Naga Heartpiercer
132554, -- Deadly Serpentine Grips
888, -- Naga Battle Gloves
151435, -- Domina's Deathmaw Greaves
151434, -- Foul Shadowsleet Slippers
-- Subjugator Kor'ul
6905, -- Reef Axe
6906, -- Algae Fists
151436, -- Murlock Oppressor's Band
-- Thruk
120163, -- Thruk's Fishing Rod
120164, -- Thruk's Heavy Duty Fishing Pole
120165, -- Thruk's Fillet Knife
151437, -- Hook Charm Necklace
-- Guardian of the Deep
6904, -- Bite of Serra'kis
6901, -- Glowing Thresher Cape
6902, -- Bands of Serra'kis
132555, -- Serra'kis Scale Wraps
-- Executioner Gore
120167, -- Bloody Twilight Cloak
120166, -- Gorestained Garb
-- Twilight Lord Bathiel
1155, -- Rod of the Sleepwalker
151440, -- Blackfathom Ascendant's Helm
151439, -- Bathiel's Scale Spaulders
6903, -- Gaze Dreamer Pants
151438, -- Hungering Deepwater Treads
-- Aku'mai
6909, -- Strike of the Hydra
132553, -- Algae-Twined Waistcord
6911, -- Moss Cinch
6910, -- Leech Pants
151441, -- Aku'mai Worshipper's Greatboots
-- Quest Rewards
--- The Rise of Aku'mai (34672)
65986, -- shield-against-the-evil-presence
65962, -- thaelrids-greaves
65938, -- blackfathom-leggings
65912, -- robe-of-kelris
131713, -- scales-of-akumai
}
|
local Util = require("Util/Util")
Util:MakeDir("out")
Util:MakeDir("out/export")
local m = {}
local function WriteFile(path, text)
--print("Writing", path)
local file = io.open(path, "w")
file:write(text)
file:close()
end
function m:ExportSystems(folder)
Util:MakeDir(format("%s/system", folder))
for _, system in ipairs(APIDocumentation.systems) do
print("Exporting", system:GetFullName())
local systemName = system.Namespace or system.Name
if systemName then
Util:MakeDir(format("%s/system/%s", folder, systemName))
local prefix = system.Namespace and system.Namespace.."." or ""
for _, func in ipairs(system.Functions) do
local path = format("%s/system/%s/API %s.txt", folder, systemName, prefix..func.Name)
local pageText = Wowpedia:GetPageText(func)
WriteFile(path, pageText)
end
for _, event in ipairs(system.Events) do
local path = format("%s/system/%s/%s.txt", folder, systemName, event.LiteralName)
local pageText = Wowpedia:GetPageText(event)
WriteFile(path, pageText)
end
end
end
Util:MakeDir(format("%s/enum", folder))
Util:MakeDir(format("%s/struct", folder))
print("Exporting (systemless) tables")
for _, apiTable in ipairs(APIDocumentation.tables) do
local isTransclude = Wowpedia.complexRefs[apiTable.Name]
if isTransclude and isTransclude > 1 then
local transcludeBase, shortType = Wowpedia:GetTranscludeBase(apiTable)
local path = format("%s/%s/%s.txt", folder, shortType, transcludeBase)
local pageText = Wowpedia:GetTableText(apiTable, true)
WriteFile(path, pageText)
end
end
print("Finished exporting")
end
return m
|
local GoodsInfoView = BaseClass(UINode)
function GoodsInfoView:Constructor( )
self.viewCfg = {
prefabPath = ResPath.GetFullUIPath("common/GoodsInfoView.prefab"),
canvasName = "Normal",
components = {
{UI.Background, {is_click_to_close=true, alpha=0.5}},
},
}
self.model = BagModel:GetInstance()
end
function GoodsInfoView.Create()
return LuaPool:Get("GoodsInfoView")
end
function GoodsInfoView:OnLoad( )
local names = {
"layout/info_con/desc_scroll/Viewport/desc_con/overdue:txt","layout/info_con/desc_scroll/Viewport/desc_con/desc:txt","layout/info_con/head_con/name:txt","layout/info_con/head_con/icon_con","layout/info_con/head_con/num:txt","layout/info_con/head_con/level:txt","layout","layout/info_con/desc_scroll/Viewport/desc_con/use_desc:txt","layout/get_way_con:obj","layout/info_con","layout/info_con/head_con","layout/info_con/desc_scroll/Viewport/desc_con/title_use:obj",
}
UI.GetChildren(self, self.transform, names)
local btnsName = {
"layout/btns_con/drop_btn:obj","layout/btns_con/use_btn:obj","layout/btns_con/sell_btn:obj","layout/btns_con/buy_btn:obj","layout/btns_con/store_btn:obj",
}
self.btns = {}
UI.GetChildren(self.btns, self.transform, btnsName)
self.overdue_txt.text = ""
self.iconNode = GoodsItem.Create()
self.iconNode:Load()
self.iconNode:SetParent(self.icon_con)
self.iconNode:SetSizeType("Medium")
self:AddEvents()
end
function GoodsInfoView:AddEvents( )
local on_click = function ( click_obj )
print('Cat:GoodsInfoView.lua[37] click_obj', click_obj, self.btns.drop_btn_obj)
if self.btns.drop_btn_obj == click_obj then
if not self.goodsInfo or not self.goodsInfo.uid then
Message:Show("道具信息有误")
return
end
local on_ack = function ( ackData )
print("Cat:GoodsInfoView [start:29] ackData: ", ackData)
PrintTable(ackData)
print("Cat:GoodsInfoView [end]")
if ackData.result == ErrorCode.Succeed then
Message:Show("销毁成功")
self:Unload()
end
end
NetDispatcher:SendMessage("Bag_DropGoods", {uid=self.goodsInfo.uid}, on_ack)
elseif self.btns.store_btn_obj == click_obj then
elseif self.btns.buy_btn_obj == click_obj then
elseif self.btns.sell_btn_obj == click_obj then
elseif self.btns.use_btn_obj == click_obj then
end
end
UI.BindClickEvent(self.btns.use_btn_obj, on_click)
UI.BindClickEvent(self.btns.sell_btn_obj, on_click)
UI.BindClickEvent(self.btns.buy_btn_obj, on_click)
UI.BindClickEvent(self.btns.store_btn_obj, on_click)
UI.BindClickEvent(self.btns.drop_btn_obj, on_click)
end
--[[showData可配置字段:
comeFrom:一个字符串,指定来自哪里点开的
isShowGetWay:是否显示获取途径
btnList:显示的按钮列表
--]]
function GoodsInfoView:SetData( goodsInfo, showData )
self.goodsInfo = goodsInfo
self.showData = showData
if self.isLoaded then
self:OnUpdate()
else
self.isNeedUpdateOnLoad = true
end
end
function GoodsInfoView:UpdateBtns()
for k,v in pairs(self.btns) do
v.gameObject:SetActive(false)
end
local showBtnList = {}
if self.showData and self.showData.comeFrom then
local comeFrom = self.showData.comeFrom
if comeFrom == "BagView" then
-- self.showData.btnList = self.showData.btnList or {}
table.insert(showBtnList, "drop_btn")
elseif comeFrom == "WarehouseView" then
table.insert(showBtnList, "store_btn")
end
end
if showBtnList then
for i,v in ipairs(showBtnList) do
self.btns[v.."_obj"]:SetActive(true)
end
end
end
function GoodsInfoView:OnUpdate( )
if not self.isLoaded then return end
self:UpdateInfo()
self:UpdateBtns()
self:UpdateGetWay()
end
function GoodsInfoView:UpdateGetWay( )
local isShow = self.showData and self.showData.isShowGetWay
self.get_way_con_obj:SetActive(isShow)
if isShow then
--Cat_Todo : add get way view
end
end
function GoodsInfoView:UpdateInfo( )
if not self.goodsInfo.cfg then
self.goodsInfo.cfg = ConfigMgr:GetGoodsCfg(self.goodsInfo.typeID)
end
self.name_txt.text = self.model:GetGoodsName(self.goodsInfo.typeID, true)
self.num_txt.text = string.format("<color=#5C3536>数量: %s</color>", self.goodsInfo.num)
self.level_txt.text = string.format("<color=#5C3536>等级: %s</color>", self.goodsInfo.cfg.level)
self.iconNode:SetIcon(self.goodsInfo.typeID, self.goodsInfo.num)
local intro_str = Trim(self.goodsInfo.cfg and self.goodsInfo.cfg.intro or "")
self.desc_txt.text = intro_str
local use_intro_str = Trim(self.goodsInfo.cfg and self.goodsInfo.cfg.use_intro or "")
if use_intro_str ~= "" then
self.use_desc_txt.text = use_intro_str
self.title_use_obj:SetActive(true)
UI.SetSizeDeltaY(self.use_desc, self.use_desc_txt.preferredHeight+20)
else
self.use_desc_txt.text = ""
self.title_use_obj:SetActive(false)
UI.SetSizeDeltaY(self.use_desc, 0)
end
end
function GoodsInfoView:Recycle( )
end
function GoodsInfoView:Unload( )
print('Cat:GoodsInfoView.lua[Unload]')
self:Hide()
LuaPool:Recycle("GoodsInfoView", self)
end
return GoodsInfoView |
local local0 = 0.3
local local1 = 0 - local0
local local2 = 0 - local0
function OnIf_225030(arg0, arg1, arg2)
if arg2 == 0 then
WarderA_Sword225030_ActAfter_RealTime(arg0, arg1)
end
return
end
function WarderA_Sword225030Battle_Activate(arg0, arg1)
local local0 = {}
local local1 = {}
local local2 = {}
Common_Clear_Param(local0, local1, local2)
local local3 = arg0:GetDist(TARGET_ENE_0)
local local4 = arg0:GetRandam_Int(1, 100)
local local5 = arg0:GetExcelParam(AI_EXCEL_THINK_PARAM_TYPE__thinkAttr_doAdmirer)
if arg0:GetEventRequest() == 10 then
local0[24] = 100
elseif local5 == 1 and arg0:GetTeamOrder(ORDER_TYPE_Role) == ROLE_TYPE_Kankyaku then
local0[22] = 100
elseif local5 == 1 and arg0:GetTeamOrder(ORDER_TYPE_Role) == ROLE_TYPE_Torimaki then
local0[23] = 100
elseif arg0:IsInsideTarget(TARGET_ENE_0, AI_DIR_TYPE_B, 120) then
local0[20] = 100
elseif 3.6 <= local3 then
local0[1] = 17
local0[2] = 0
local0[5] = 0
local0[8] = 17
local0[9] = 49
local0[10] = 17
local0[11] = 0
elseif 2.3 <= local3 then
local0[1] = 25
local0[2] = 15
local0[5] = 15
local0[8] = 15
local0[9] = 0
local0[10] = 15
local0[11] = 15
else
local0[1] = 18
local0[2] = 16
local0[5] = 22
local0[8] = 10
local0[9] = 0
local0[10] = 10
local0[11] = 24
end
local1[1] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act01)
local1[2] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act02)
local1[5] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act05)
local1[8] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act08)
local1[9] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act09)
local1[10] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act10)
local1[11] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act11)
local1[20] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act20)
local1[22] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act22)
local1[23] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act23)
local1[24] = REGIST_FUNC(arg0, arg1, WarderA_Sword225030_Act24)
Common_Battle_Activate(arg0, arg1, local0, local1, REGIST_FUNC(arg0, arg1, WarderA_Sword225030_ActAfter_AdjustSpace), local2)
return
end
local0 = 2.9 - local0
local0 = 0 - local0
function WarderA_Sword225030_Act01(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = UPVAL1
Approach_Act(arg0, arg1, UPVAL0, UPVAL0, 0, 2)
arg1:AddSubGoal(GOAL_COMMON_AttackTunableSpin, 10, 3001, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
GetWellSpace_Odds = 100
return GetWellSpace_Odds
end
local0 = 2.1 - local0
local0 = 0 - local0
function WarderA_Sword225030_Act02(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = UPVAL1
Approach_Act(arg0, arg1, UPVAL0, UPVAL0, 0, 2)
arg1:AddSubGoal(GOAL_COMMON_AttackTunableSpin, 10, 3009, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
GetWellSpace_Odds = 100
return GetWellSpace_Odds
end
local0 = 2.2 - local0
local0 = 0 - local0
function WarderA_Sword225030_Act05(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = UPVAL1
Approach_Act(arg0, arg1, UPVAL0, UPVAL0, 0, 2)
arg1:AddSubGoal(GOAL_COMMON_GuardBreakTunable, 10, 3027, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
GetWellSpace_Odds = 100
return GetWellSpace_Odds
end
local0 = 2.6 - local0
local0 = 0 - local0
function WarderA_Sword225030_Act08(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = UPVAL1
Approach_Act(arg0, arg1, UPVAL0, UPVAL0, 0, 2)
arg1:AddSubGoal(GOAL_COMMON_AttackTunableSpin, 10, 3003, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
GetWellSpace_Odds = 100
return GetWellSpace_Odds
end
local0 = 7.1 - local0
local0 = 0 - local0
function WarderA_Sword225030_Act09(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = UPVAL1
Approach_Act(arg0, arg1, UPVAL0, UPVAL0, 0, 2)
arg1:AddSubGoal(GOAL_COMMON_AttackTunableSpin, 10, 3002, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
GetWellSpace_Odds = 100
return GetWellSpace_Odds
end
local0 = 2.8 - local0
local0 = 0 - local0
function WarderA_Sword225030_Act10(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = UPVAL1
Approach_Act(arg0, arg1, UPVAL0, UPVAL0 + 0.5, 0, 2)
arg1:AddSubGoal(GOAL_COMMON_AttackTunableSpin, 10, 3005, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
GetWellSpace_Odds = 0
return GetWellSpace_Odds
end
local0 = 1.8 - local0
local0 = 0 - local0
local0 = 2.7 - local0
local0 = 1.9 - local0
function WarderA_Sword225030_Act11(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = UPVAL1
local local2 = UPVAL3 + 1
local local3 = 0
if arg0:GetRandam_Int(1, 100) <= 50 then
Approach_Act(arg0, arg1, UPVAL3, UPVAL3 + 0.5, local3, 2)
arg1:AddSubGoal(GOAL_COMMON_AttackTunableSpin, 10, 3008, TARGET_ENE_0, local2, 0, -1)
else
Approach_Act(arg0, arg1, UPVAL0, UPVAL0 + 0.5, local3, 2)
arg1:AddSubGoal(GOAL_COMMON_ComboAttackTunableSpin, 10, 3006, TARGET_ENE_0, UPVAL0 + 1, 0, -1)
arg1:AddSubGoal(GOAL_COMMON_ComboRepeat, 10, 3007, TARGET_ENE_0, UPVAL2 + 1, 0)
arg1:AddSubGoal(GOAL_COMMON_ComboFinal, 10, 3008, TARGET_ENE_0, local2, 0)
end
GetWellSpace_Odds = 100
return GetWellSpace_Odds
end
function WarderA_Sword225030_Act20(arg0, arg1, arg2)
arg1:AddSubGoal(GOAL_COMMON_Turn, 2, TARGET_ENE_0, 0, 0, 0)
GetWellSpace_Odds = 0
return GetWellSpace_Odds
end
function WarderA_Sword225030_Act22(arg0, arg1, arg2)
Kanshu_Act(arg0, arg1, 0)
GetWellSpace_Odds = 0
return GetWellSpace_Odds
end
function WarderA_Sword225030_Act23(arg0, arg1, arg2)
Torimaki_Act(arg0, arg1, 0)
GetWellSpace_Odds = 0
return GetWellSpace_Odds
end
function WarderA_Sword225030_Act24(arg0, arg1, arg2)
local local0 = arg0:GetDist(TARGET_ENE_0)
local local1 = arg0:GetRandam_Int(1, 100)
arg1:AddSubGoal(GOAL_COMMON_ApproachTarget, 30, POINT_INITIAL, 0.5, TARGET_SELF, false, -1)
GetWellSpace_Odds = 0
return GetWellSpace_Odds
end
function WarderA_Sword225030_ActAfter_RealTime(arg0, arg1)
local local0 = arg0:GetRandam_Int(1, 100)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = arg0:GetRandam_Int(0, 1)
local local3 = arg0:GetRandam_Float(2, 3)
local local4 = 0
if arg0:GetDist(TARGET_ENE_0) <= 4 then
if arg0:IsInsideTarget(TARGET_FRI_0, AI_DIR_TYPE_B, 120) then
if local0 <= 50 then
if local1 <= local4 then
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 1, 701, TARGET_ENE_0, 0, AI_DIR_TYPE_B, 4)
arg1:AddSubGoal(GOAL_COMMON_SidewayMove, local3, TARGET_ENE_0, local2, arg0:GetRandam_Int(30, 45), true, true, 9910, true)
else
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 1, 701, TARGET_ENE_0, 0, AI_DIR_TYPE_B, 4)
arg1:AddSubGoal(GOAL_COMMON_SidewayMove, local3, TARGET_ENE_0, local2, arg0:GetRandam_Int(30, 45), true, true, -1)
end
elseif local1 <= 50 then
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 1, 702, TARGET_ENE_0, 0, AI_DIR_TYPE_L, 4)
else
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 1, 703, TARGET_ENE_0, 0, AI_DIR_TYPE_R, 4)
end
elseif local0 <= 50 then
arg1:AddSubGoal(GOAL_COMMON_LeaveTarget, arg0:GetRandam_Float(2, 3.5), TARGET_ENE_0, 4, TARGET_ENE_0, true, -1)
elseif local0 <= 80 then
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 1, 701, TARGET_ENE_0, 0, AI_DIR_TYPE_B, 4)
end
elseif local1 <= local4 then
arg1:AddSubGoal(GOAL_COMMON_SidewayMove, local3, TARGET_ENE_0, local2, arg0:GetRandam_Int(30, 45), true, true, 9910, true)
else
arg1:AddSubGoal(GOAL_COMMON_SidewayMove, local3, TARGET_ENE_0, local2, arg0:GetRandam_Int(30, 45), true, true, -1)
end
return
end
function WarderA_Sword225030_ActAfter_AdjustSpace(arg0, arg1, arg2)
arg1:AddSubGoal(GOAL_COMMON_If, 10, 0)
return
end
function WarderA_Sword225030Battle_Update(arg0, arg1)
return GOAL_RESULT_Continue
end
function WarderA_Sword225030Battle_Terminate(arg0, arg1)
return
end
function WarderA_Sword225030Battle_Interupt(arg0, arg1)
if arg0:IsLadderAct(TARGET_SELF) then
return false
end
local local0 = arg0:GetRandam_Int(1, 100)
local local1 = arg0:GetRandam_Int(1, 100)
local local2 = arg0:GetRandam_Int(1, 100)
local local3 = arg0:GetDist(TARGET_ENE_0)
if Damaged_Step(arg0, arg1, 3, 15, 40, 30, 30, 4) then
return true
end
local local4 = arg0:GetRandam_Int(1, 100)
if GuardBreak_Act(arg0, arg1, 4, 100) then
if 2 <= arg0:GetDist(TARGET_ENE_0) then
arg1:AddSubGoal(GOAL_COMMON_Attack, 10, 3002, TARGET_ENE_0, DIST_Middle, 0)
else
arg1:AddSubGoal(GOAL_COMMON_Attack, 10, 3003, TARGET_ENE_0, DIST_Middle, 0)
end
return true
end
local local5 = arg0:GetRandam_Int(1, 100)
local local6 = arg0:GetDist(TARGET_ENE_0)
local local7 = Shoot_2dist(arg0, arg1, 3, 20, 20, 40)
if local7 == 1 then
if local5 <= 50 then
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 5, 702, TARGET_ENE_0, 0, AI_DIR_TYPE_L, 4)
else
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 5, 703, TARGET_ENE_0, 0, AI_DIR_TYPE_R, 4)
end
elseif local7 == 2 then
if local5 <= 50 then
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 5, 702, TARGET_ENE_0, 0, AI_DIR_TYPE_L, 4)
else
arg1:AddSubGoal(GOAL_COMMON_SpinStep, 5, 703, TARGET_ENE_0, 0, AI_DIR_TYPE_R, 4)
end
return true
end
return false
end
return
|
-- Natural Selection 2 Competitive Mod
-- Source located at - https://github.com/xToken/CompMod
-- lua\CompMod\Mixins\MaturityMixin\client.lua
-- - Dragon
function MaturityMixin:OnMaturityUpdate(deltaTime)
PROFILE("MaturityMixin:OnMaturityUpdate")
local fraction = 1.0
-- TODO: maturity effects, shaders
if HasMixin(self, "Model") then
local model = self:GetRenderModel()
if model then
fraction = self:GetMaturityFraction()
model:SetMaterialParameter("maturity", fraction)
end
end
return kUpdateIntervalLow
end
function MaturityMixin:GetMaturityFraction()
return self.finalMatureFraction
end
function MaturityMixin:SetUnitState(forEntity, state)
local areEnemies = GetAreEnemies(player, unit)
if not areEnemies then
state.MaturityFraction = self:GetMaturityFraction()
end
end |
ToshUnitFrames = LibStub("AceAddon-3.0"):NewAddon("ToshUnitFrames", "AceEvent-3.0", "AceConsole-3.0")
ToshUnitFrames.versionString = GetAddOnMetadata("ToshUnitFrames", "Version")
local insert = table.insert
local defaults = {
profile = {
regions = {},
},
global = {
options = {
width = 700,
height = 500,
pos = {from="CENTER", to="CENTER", x=0, y=0},
},
},
}
ToshUnitFrames.regions = {}
ToshUnitFrames.units = {}
ToshUnitFrames.frames = {}
function ToshUnitFrames:OnInitialize()
self.db = LibStub("AceDB-3.0"):New("ToshUnitFramesDB", defaults, true)
LibStub('LibDualSpec-1.0'):EnhanceDatabase(self.db, "ToshUnitFrames")
if not self.db.profile.regions then
self.db.profile.regions = {}
end
self.db.RegisterCallback(self, "OnProfileChanged", "RefreshConfig")
self.db.RegisterCallback(self, "OnProfileCopied", "RefreshConfig")
self.db.RegisterCallback(self, "OnProfileReset", "RefreshConfig")
self:RegisterChatCommand("toshuf", "OnChatCommand")
self:RegisterChatCommand("tuf", "OnChatCommand")
self:RegisterEvent("PLAYER_ENTERING_WORLD", "UpdateUnitFrames")
self:RegisterMessage("TUF_FRAMES_UPDATED", "UpdateUnitFrames")
end
function ToshUnitFrames:RefreshConfig()
self:SendMessage("TUF_FRAMES_UPDATED")
end
function ToshUnitFrames:LoadToshUnitFramesOptions()
local optionsAddon = "ToshUnitFramesOptions"
if not IsAddOnLoaded(optionsAddon) then
if InCombatLockdown() then
self:Printf("%s cannot be loaded in combat.", optionsAddon)
return
end
local success, reason = LoadAddOn(optionsAddon)
if not success then
self:Printf("Could not load %s: %s", optionsAddon, reason)
end
end
if self.InitializeOptions then -- defined in ToshUnitFramesOptions
self:LoadOptions()
self.LoadToshUnitFramesOptions = function() return true end
return true
end
self:Print("You need ToshRaidFramesOptions addon enabled to be able to configure ToshUnitFrames.")
end
function ToshUnitFrames:OnChatCommand(input)
if self:LoadToshUnitFramesOptions() then
self:OnChatCommand(input)
end
end
function ToshUnitFrames:LoadOptions()
self:InitializeOptions()
self.LoadOptions = nil
end
function ToshUnitFrames:Debug(data, msg)
if ViragDevTool_AddData then
ViragDevTool_AddData(data, msg)
end
end
|
local ctx = require"luaossl.rand"
return ctx
|
function onVehicleTakeDamage(loss)
-- source to pojazd
if not isVehicleOccupied(source) then
-- nie ma ludzi w środku
else
-- są
end
end
addEventHandler("onVehicleDamage", getRootElement(), onVehicleTakeDamage) |
--[[
FiveM Scripts
Copyright C 2018 Sighmir
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
at your option any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
--bind client tunnel interface
vRPmt = {}
local Tunnel = module("vrp", "lib/Tunnel")
vRP = Proxy.getInterface("vRP")
vRPclient = Tunnel.getInterface("vrp_basic_mission",vRPmt)
function vRPmt.isPlayerInVehicleModel(model)
if (IsVehicleModel(GetVehiclePedIsUsing(GetPlayerPed(-1)), GetHashKey(model))) then -- just a function you can use to see if your player is in a taxi or any other car model (use the tunnel)
return true
else
return false
end
end
function vRPmt.isInAnyVehicle()
if IsPedInAnyVehicle(GetPlayerPed(-1)) then
return true
else
return false
end
end
function vRPmt.getVehicleInDirection( coordFrom, coordTo )
local rayHandle = CastRayPointToPoint( coordFrom.x, coordFrom.y, coordFrom.z, coordTo.x, coordTo.y, coordTo.z, 10, GetPlayerPed( -1 ), 0 )
local _, _, _, _, vehicle = GetRaycastResult( rayHandle )
return vehicle
end
function vRPmt.deleteVehicleByOffset(offset)
local ped = GetPlayerPed(-1)
veh = vRPmt.getVehicleInDirection(GetEntityCoords(ped, 1), GetOffsetFromEntityInWorldCoords(ped, 0.0, offset, 0.0))
if IsEntityAVehicle(veh) then
SetVehicleHasBeenOwnedByPlayer(veh,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, veh, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(veh))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(veh))
vRP.notify("~g~Vehicle deleted.")
else
vRP.notify("~r~Too far away from vehicle.")
end
end
function vRPmt.deleteVehicleModelByOffset(model,offset)
local ped = GetPlayerPed(-1)
veh = vRPmt.getVehicleInDirection(GetEntityCoords(ped, 1), GetOffsetFromEntityInWorldCoords(ped, 0.0, offset, 0.0))
if IsEntityAVehicle(veh) and IsVehicleModel(veh, GetHashKey(model)) then
SetVehicleHasBeenOwnedByPlayer(veh,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, veh, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(veh))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(veh))
vRP.notify("~g~Vehicle deleted.")
else
vRP.notify("~r~Too far away from vehicle.")
end
end
-- Ped Types: Any ped = -1 | Player = 1 | Male = 4 | Female = 5 | Cop = 6 | Human = 26 | SWAT = 27 | Animal = 28 | Army = 29
function vRPmt.isClosestPedType(radius, pedType)
local outPed = {}
local x,y,z = table.unpack(GetEntityCoords(GetPlayerPed(-1),true))
local found = GetClosestPed(x+0.0001, y+0.0001, z+0.0001,radius+0.0001, 1, 0, outPed, 1, 1, pedType)
if found then
return true
end
return false
end
function vRPmt.isClosestPedModel(radius, model)
local outPed = {}
local x,y,z = table.unpack(GetEntityCoords(GetPlayerPed(-1),true))
local found = GetClosestPed(x+0.0001, y+0.0001, z+0.0001,radius+0.0001, 1, 0, outPed, 1, 1, -1)
if found then
if IsPedModel(outPed, GetHashKey(model)) then
return true
end
end
return false
end
function vRPmt.freezePed(flag)
FreezeEntityPosition(GetPlayerPed(-1),flag)
end
function vRPmt.getPlayerName(player)
return GetPlayerName(player)
end
function vRPmt.freezePedVehicle(flag)
FreezeEntityPosition(GetVehiclePedIsIn(GetPlayerPed(-1),false),flag)
end
function vRPmt.deleteVehiclePedIsIn()
local v = GetVehiclePedIsIn(GetPlayerPed(-1),false)
SetVehicleHasBeenOwnedByPlayer(v,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, v, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(v))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(v))
end
function vRPmt.deleteNearestVehicle(radius)
local x,y,z = table.unpack(GetEntityCoords(GetPlayerPed(-1),true))
local v = GetClosestVehicle( x+0.0001, y+0.0001, z+0.0001,radius+0.0001,0,70)
SetVehicleHasBeenOwnedByPlayer(v,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, v, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(v))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(v))
end
function vRPmt.deleteNearestVehicleModel(radius, model)
local x,y,z = table.unpack(GetEntityCoords(GetPlayerPed(-1),true))
local v = GetClosestVehicle( x+0.0001, y+0.0001, z+0.0001,radius+0.0001,GetHashKey(model),70)
if IsVehicleModel(v, GetHashKey(model)) then
SetVehicleHasBeenOwnedByPlayer(v,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, v, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(v))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(v))
return true
else
return false
end
end
function vRPmt.deleteTowedVehicleModel(offset,model)
local player = GetPlayerPed( -1 )
local pos = GetEntityCoords(player)
local entityWorld = GetOffsetFromEntityInWorldCoords(player, 0.0, -offset, 0.0)
local rayHandle = CastRayPointToPoint(pos.x, pos.y, pos.z, entityWorld.x, entityWorld.y, entityWorld.z, 10, player, 0)
local a, b, c, d, vehicleHandle = GetRaycastResult(rayHandle)
if vehicleHandle ~= nil then
if IsVehicleModel(vehicleHandle, GetHashKey(model)) then
SetVehicleHasBeenOwnedByPlayer(vehicleHandle,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, vehicleHandle, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(vehicleHandle))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(vehicleHandle))
return true
else
return false
end
else
return false
end
end
function vRPmt.deleteTowedVehicle(offset)
local player = GetPlayerPed( -1 )
local pos = GetEntityCoords(player)
local entityWorld = GetOffsetFromEntityInWorldCoords(player, 0.0, -offset, 0.0)
local rayHandle = CastRayPointToPoint(pos.x, pos.y, pos.z, entityWorld.x, entityWorld.y, entityWorld.z, 10, player, 0)
local a, b, c, d, vehicleHandle = GetRaycastResult(rayHandle)
if vehicleHandle ~= nil then
SetVehicleHasBeenOwnedByPlayer(vehicleHandle,false)
Citizen.InvokeNative(0xAD738C3085FE7E11, vehicleHandle, false, true) -- set not as mission entity
SetVehicleAsNoLongerNeeded(Citizen.PointerValueIntInitialized(vehicleHandle))
Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(vehicleHandle))
return true
else
return false
end
end
function vRPmt.getVehiclePedIsInPlateText()
local p = ""
local v = GetVehiclePedIsIn(GetPlayerPed(-1),false)
p = GetVehicleNumberPlateText(v)
return p
end
function vRPmt.isPedVehicleOwner()
local r = true
local v = GetVehiclePedIsIn(GetPlayerPed(-1),false)
GetVehicleOwner(v,function(o)
if IsEntityAVehicle(o) then
r = false
end
end)
return r
end
function vRPmt.getNearestVehiclePlateText(radius)
local p = ""
local x,y,z = table.unpack(GetEntityCoords(GetPlayerPed(-1),true))
local v = GetClosestVehicle( x+0.0001, y+0.0001, z+0.0001,radius+0.0001,0,70)
p = GetVehicleNumberPlateText(v)
return p
end |
local color = require("joueur.ansiColorCoder")
local socket = require("socket")
local function isModuleAvailable(name)
if package.loaded[name] then
return true
else
for _, searcher in ipairs(package.searchers or package.loaders) do
local loader = searcher(name)
if type(loader) == "function" then
package.preload[name] = loader
return true
end
end
return false
end
end
return function(args)
local client = require("joueur.client")
local GameManager = require("joueur.gameManager")
local safeCall = require("joueur.safeCall")
local handleError = require("joueur.handleError")
local splitServer = args.server:split(":")
args.server = splitServer[1]
args.port = tonumber(splitServer[2] or args.port)
client:connect(args.server, args.port, args)
client:send("alias", args.game)
local gameName = client:waitForEvent("named")
local moduleGameName = gameName:uncapitalize()
local game, ai = nil, nil
if not isModuleAvailable("games." .. moduleGameName .. ".game") then
handleError("GAME_NOT_FOUND", "Could not find game files for '" .. gameName .. "'")
end
safeCall(function()
game = require("games." .. moduleGameName .. ".game")()
end, "REFLECTION_FAILED", "Error requiring the Game module for '" .. gameName .. "'.")
safeCall(function()
ai = require("games." .. moduleGameName .. ".ai")(game)
end, "AI_ERRORED", "Could not require the AI for game '" .. gameName .. "'. Probably a syntax error in your AI.")
local gameManager = GameManager(game)
client:setup(game, ai, gameManager, args)
ai:setSettings(args.aiSettings)
client:send("play", {
gameName = gameName,
requestedSession = args.session,
clientType = "Lua",
playerName = args.name or ai:getName() or "Lua Player",
playerIndex = args.index,
password = args.password,
gameSettings = args.gameSettings,
})
local lobbyData = client:waitForEvent("lobbied")
print(color.text("cyan") .. "In lobby for game '" .. lobbyData.gameName .. "' in session '" .. lobbyData.gameSession .. "'." .. color.reset())
gameManager:setConstants(lobbyData.constants)
local startData = client:waitForEvent("start")
print(color.text("green") .. "Game is starting." .. color.reset())
ai:setPlayer(game:getGameObject(startData.playerID))
safeCall(function()
ai:start()
ai:gameUpdated()
end, "AI_ERRORED", "AI errored when game starting.")
client:play()
end
|
JSON = (loadfile "Utility/JSON.lua")()
LevelManager = {
jsonObject
}
function LevelManager:parseJSON(fileName)
local contents, size = love.filesystem.read(fileName, size)
LevelManager.jsonObject = JSON:decode(contents)
end
function LevelManager:getNumLevels()
return table.getn(LevelManager.jsonObject["levels"])
end
function LevelManager:getFont()
return LevelManager.jsonObject["font"]
end
function LevelManager:getGroundImage(levelNumber)
return LevelManager.jsonObject["levels"][levelNumber]["ground"]
end
function LevelManager:getLevelTheme(levelNumber)
return LevelManager.jsonObject["levels"][levelNumber]["levelTheme"]
end
function LevelManager:getBgLayers(levelNumber)
return LevelManager.jsonObject["levels"][levelNumber]["layers"]
end
function LevelManager:getLevelMusic(levelNumber)
return LevelManager.jsonObject["levels"][levelNumber]["music"]
end
function LevelManager:getTriggers(levelNumber)
return LevelManager.jsonObject["levels"][levelNumber]["triggers"]
end
function LevelManager:getPlayerShip()
local ship = LevelManager.jsonObject["player"]["ship"]
return ship["image"], ship["height"], ship["width"]
end
function LevelManager:getPlayerMech()
local mech = LevelManager.jsonObject["player"]["mech"]
return mech["image"], mech["height"], mech["width"]
end
function LevelManager:getEnemy(enemyNumber)
local enemy = LevelManager.jsonObject["enemies"][enemyNumber]
return enemy["image"], enemy["height"], enemy["width"]
end
function LevelManager:getBoss(bossNumber)
local boss = LevelManager.jsonObject["bosses"][bossNumber]
return boss["image"], boss["height"], boss["width"]
end
function LevelManager:getSound(id)
return LevelManager.jsonObject["sounds"][id]["src"]
end
function LevelManager:getParticle(id)
return LevelManager.jsonObject["particles"][id]["src"]
end
function LevelManager:getImage(id)
return LevelManager.jsonObject["images"][id]["src"]
end
function LevelManager:getScene(sceneNumber)
return LevelManager.jsonObject["scenes"][sceneNumber]
end |
local oop = require 'src/oop'
local battle = require 'battle/battle'
local proto = oop.class {
visible = true,
active = true,
}
-- [[ Internal functions ]]
function proto:init (world)
end
-- [[ Overloadable functions ]]
function proto:update (world)
end
function proto:collide (world, with)
end
function proto:rect ()
return self.pos.x, self.pos.y, self.size.x, self.size.y
end
function proto:debug_draw ()
if self.shape == 'point' then
love.graphics.circle('line', self.pos.x+8, self.pos.y+8, 8)
elseif self.shape == 'rectangle' then
love.graphics.rectangle('line', self:rect())
elseif self.shape == 'polyline' then
love.graphics.line(self.line)
end
end
-- [[ Callable functions ]]
function proto:enter_battle (name)
GAME.scene:push_fade({}, battle(name))
end
return proto
|
local tui_terminfo = require "tui.terminfo"
local caps, names
if arg[1] and arg[1]:match("/") then
caps, names = assert(tui_terminfo.open(arg[1]))
else
caps, names = assert(tui_terminfo.find(arg[1]))
end
print(names[#names])
local lines = {}
for k, v in pairs(caps) do
if type(v) == "string" then
v = string.format("%q", v):gsub("\n", "\\n")
else
v = tostring(v)
end
lines[#lines+1] = string.format("\t%s: %s\n", k, v)
end
table.sort(lines)
print(table.concat(lines))
|
local U = require("utilities")
local au = require("au")
local g = vim.g
-- Use <c-space> to trigger completion.
U.map("i", "<c-space>", "coc#refresh()", { noremap = true, silent = true, expr = true })
vim.cmd([[
" Use <cr> to confirm completion, `<C-g>u` means break undo chain at current
" position. Coc only does snippet and additional edit on confirm.
" <cr> could be remapped by other vim plugin, try `:verbose imap <CR>`.
if exists('*complete_info')
inoremap <expr> <cr> complete_info()["selected"] != "-1" ? "\<C-y>" : "\<C-g>u\<CR>"
else
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
endif
]])
-- Use `[g` and `]g` to navigate diagnostics
-- Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
U.map("n", "[g", "<Plug>(coc-diagnostic-prev)", { silent = true })
U.map("n", "]g", "<Plug>(coc-diagnostic-next)", { silent = true })
-- GoTo code navigation.
U.map("n", "gy", "<Plug>(coc-type-definition)", { silent = true })
U.map("n", "gd", "<Plug>(coc-definition)", { silent = true })
U.map("n", "gi", "<Plug>(coc-implementation)", { silent = true })
U.map("n", "gr", "<Plug>(coc-references)", { silent = true })
-- Use K to show documentation in preview window.
U.map("n", "K", ":call Show_documentation()<CR>", { noremap = true, silent = true })
vim.cmd([[
function! Show_documentation()
if (index(['vim','help'], &filetype) >= 0)
execute 'h '.expand('<cword>')
else
call CocAction('doHover')
endif
endfunction
]])
-- vim.cmd [[autocmd CursorHold * silent call CocActionAsync('highlight')]]
-- Highlight the symbol and its references when holding the cursor.
au.CursorHold = function()
vim.fn.CocActionAsync("highlight")
end
-- Symbol renaming.
U.map("n", "<leader>rn", "<Plug>(coc-rename)", {})
-- Formatting selected code.
U.map("x", "<leader>f", "<Plug>(coc-format-selected)", {})
U.map("n", "<leader>f", "<Plug>(coc-format-selected)", {})
au.group("CocOverrides", function(grp)
grp.FileType = {
"typescript,json",
function()
vim.api.nvim_buf_set_option(0, "formatexpr", "CocAction('formatSelected')")
end,
}
grp.User = {
"CocJumpPlaceholder",
function()
vim.fn.CocActionAsync("showSignatureHelp")
end,
}
end)
-- Applying codeAction to the selected region.
U.map("x", "<leader>a", "<Plug>(coc-codeaction-selected)", {})
-- Example: `<leader>aap` for current paragraph
U.map("n", "<leader>a", "<Plug>(coc-codeaction-selected)", {})
-- Remap keys for applying codeAction to the current buffer.
U.map("n", "<leader>ac", "<Plug>(coc-codeaction)", {})
-- Apply AutoFix to problem on the current line.
U.map("n", "<leader>qf", "<Plug>(coc-fix-current)", {})
-- Map function and class text objects
-- NOTE: Requires 'textDocument.documentSymbol' support from the language server.
U.map("x", "if", "<Plug>(coc-funcobj-i)", {})
U.map("o", "if", "<Plug>(coc-funcobj-i)", {})
U.map("x", "af", "<Plug>(coc-funcobj-a)", {})
U.map("o", "af", "<Plug>(coc-funcobj-a)", {})
U.map("x", "ic", "<Plug>(coc-classobj-i)", {})
U.map("o", "ic", "<Plug>(coc-classobj-i)", {})
U.map("x", "ac", "<Plug>(coc-classobj-a)", {})
U.map("o", "ac", "<Plug>(coc-classobj-a)", {})
-- Use CTRL-S for selections ranges.
-- Requires 'textDocument/selectionRange' support of LS, ex: coc-tsserver
U.map("n", "<C-s>", "<Plug>(coc-range-select)", { silent = true })
U.map("x", "<C-s>", "<Plug>(coc-range-select)", { silent = true })
-- Add `:Format` command to format current buffer.
vim.cmd([[command! -nargs=0 Format :call CocAction('format')]])
-- Add `:Fold` command to fold current buffer.
vim.cmd([[command! -nargs=? Fold :call CocAction('fold', <f-args>)]])
-- Add `:OR` command for organize imports of the current buffer.
vim.cmd([[command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport')]])
-- Mappings for CoCList
-- Show all diagnostics.
U.map("n", "<space>a", ":<C-u>CocList diagnostics<cr>", { noremap = true, silent = true, nowait = true })
-- Manage extensions.
U.map("n", "<space>e", ":<C-u>CocList extensions<cr>", { noremap = true, silent = true, nowait = true })
-- Show commands.
U.map("n", "<space>c", ":<C-u>CocList commands<cr>", { noremap = true, silent = true, nowait = true })
-- Find symbol of current document.
U.map("n", "<space>o", ":<C-u>CocList outline<cr>", { noremap = true, silent = true, nowait = true })
-- Search workspace symbols.
U.map("n", "<space>s", ":<C-u>CocList -I symbols<cr>", { noremap = true, silent = true, nowait = true })
-- Do default action for next item.
U.map("n", "<space>j", ":<C-u>CocNext<CR>", { noremap = true, silent = true, nowait = true })
-- Do default action for previous item.
U.map("n", "<space>k", ":<C-u>CocPrev<CR>", { noremap = true, silent = true, nowait = true })
-- Resume latest coc list.
U.map("n", "<space>p", ":<C-u>CocListResume<CR>", { noremap = true, silent = true, nowait = true })
g.coc_global_extensions = {
"coc-json",
"coc-yaml",
"coc-tsserver",
"coc-html",
"coc-css",
"coc-pyright",
"coc-go",
"coc-snippets",
"coc-prettier",
"coc-marketplace",
"coc-sh",
"coc-spell-checker",
"coc-rust-analyzer",
"coc-lua",
"coc-sourcekit",
}
g.coc_default_semantic_highlight_groups = true
function MakeSymbol(isNext)
if isNext then
if vim.api.nvim_eval("pumvisible()") == 1 then
return "<C-n>"
else
return "<Tab>"
end
else
if vim.api.nvim_eval("pumvisible()") == 1 then
return "<C-p>"
else
return "<S-Tab>"
end
end
end
-- U.map('i', '<Tab>', MakeSymbol(true), { noremap = true, expr = true })
-- U.map('i', '<S-Tab>', MakeSymbol(false), { noremap = true, expr = true })
-- Use <Tab> and <S-Tab> to navigate the completion list:
vim.cmd([[
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
]])
-- Mapping to open Coc Explorer
-- U.map('n', '<C-n>', ':CocCommand explorer<CR>', { noremap = true })
-- Use <Tab> for jump to next placeholder, it's default of coc.nvim
g.coc_snippet_next = "<Tab>"
-- Use <S-Tab> for jump to previous placeholder, it's default of coc.nvim
g.coc_snippet_prev = "<S-Tab>"
-- Format current buffer using :Prettier.
vim.cmd([[command! -nargs=0 Prettier :CocCommand prettier.formatFile]])
g.vim_json_syntax_conceal = 0
g.coc_default_semantic_highlight_groups = 0
vim.cmd([[
hi default link CocSem_namespace TSNamespace
hi default link CocSem_type TSType
hi default link CocSem_class TSType
hi default link CocSem_enum TSType
hi default link CocSem_interface TSType
hi default link CocSem_struct TSType
hi default link CocSem_typeParameter TSType
hi default link CocSem_parameter TSParameter
hi default link CocSem_variable Identifier
hi default link CocSem_identifier Identifier
hi default link CocSem_property TSProperty
hi default link CocSem_enumMember TSProperty
hi default link CocSem_event TSVariable
hi default link CocSem_function TSFunction
hi default link CocSem_method TSFunction
hi default link CocSem_macro TSFunctionMacro
hi default link CocSem_keyword TSKeyword
hi default link CocSem_modifier StorageClass
hi default link CocSem_comment TSComment
hi default link CocSem_string TSString
hi default link CocSem_number TSNumber
hi default link CocSem_regexp TSStringRegex
hi default link CocSem_operator TSOperator
]])
|
local cPointDisplay = LibStub("AceAddon-3.0"):NewAddon("cPointDisplay", "AceConsole-3.0", "AceEvent-3.0", "AceBucket-3.0")
local LSM = LibStub("LibSharedMedia-3.0")
local db
cPointDisplay.Types = {
["GENERAL"] = {
name = "General",
points = {
[1] = { name = "Combo Points", id = "cp", barcount = 5, fullcount = 5 },
[2] = { name = "Combo Points with Deeper Stratagem", id = "cp6", barcount = 6, fullcount = 6 },
}
},
["PALADIN"] = {
name = "Paladin",
points = {
[1] = { name = "Holy Power", id = "hp", barcount = 5, fullcount = 5 },
}
},
["WARLOCK"] = {
name = "Warlock",
points = {
[1] = { name = "Soul Shards", id = "ss", barcount = 5, fullcount = 5 },
[2] = { name = "Soul Shards Precise", id = "ssf", barcount = 5, fullcount = 5 },
}
},
["MAGE"] = {
name = "Mage",
points = {
[1] = { name = "Arcane Charges", id = "ac", barcount = 4, fullcount = 4},
[2] = { name = "Icicles", id = "ic", barcount = 5, fullcount = 5}
}
},
["MONK"] = {
name = "Monk",
points = {
[1] = { name = "Chi", id = "c5", barcount = 5, fullcount = 5 },
[2] = { name = "Chi with Ascension", id = "c6", barcount = 6, fullcount = 6 }
}
},
["SHAMAN"] = {
name = "Shaman",
points = {
[1] = { name = "Maelstrom Weapon", id = "mw", barcount = 10, fullcount = 5 }
}
},
["DEMONHUNTER"] = {
name = "Demon Hunter",
points = {
[1] = { name = "Soul Fragments", id = "sf", barcount = 5, fullcount = 5 }
}
}
}
local Types = cPointDisplay.Types
---- Spell Info table
local SpellInfo = {
["si"] = nil,
["bs"] = nil,
["lus"] = nil,
["lac"] = nil,
["al"] = nil,
["rsa"] = nil,
["fe"] = nil,
["ab"] = nil,
["ff"] = nil,
["sz"] = nil,
["vm"] = nil,
["eva"] = nil,
["deva"] = nil,
["ser"] = nil,
["bg"] = {[1] = nil, [2] = nil, [3] = nil},
["ant"] = nil,
["mw"] = nil,
["ls"] = nil,
["tw"] = nil,
["ws"] = nil,
["mco"] = nil,
["ts"] = nil,
["mc"] = nil,
["sa"] = nil,
["tb"] = nil,
}
---- Defaults
local defaults = {
profile = {
updatespeed = 8,
classcolor = {
enabled = false,
bg = {
empty = 0.15,
normal = 0.7,
max = 1,
},
border = {
empty = 0,
normal = 0,
max = 0,
},
spark = {
normal = 0.8,
max = 1,
},
},
-- CLASS/ID
["*"] = {
types = {
-- Point Display type
["*"] = {
enabled = true,
configmode = {
enabled = false,
count = 2,
},
general = {
hideui = false,
hideempty = false,
hidein = {
vehicle = false,
spec = 1,
},
direction = {
vertical = false,
reverse = false,
},
showatzero = false,
},
position = {
parent = "UIParent",
anchorto = "CENTER",
anchorfrom = "CENTER",
x = 0,
y = 0,
framelevel = {
strata = "MEDIUM",
level = 2,
},
},
bgpanel = {
enabled = false,
size = {
width = 150,
height = 12,
},
bg = {
texture = "Solid",
color = {r = 0.37, g = 0.37, b = 0.37, a = 1},
},
border = {
texture = "Solid",
edgesize = 1,
inset = 0,
color = {r = 0, g = 0, b = 0, a = 1},
},
},
bars = {
["*"] = {
position = {
gap = -1,
xofs = 0,
yofs = 0,
},
size = {
width = 25,
height = 8,
},
bg = {
empty = {
texture = "Solid",
color = {r = 0.14, g = 0.14, b = 0.14, a = 1},
},
full = {
texture = "Solid",
color = {r = 0.7, g = 0.7, b = 0.7, a = 1},
maxcolor = {r = 1, g = 1, b = 1, a = 1},
},
},
border = {
empty = {
texture = "Solid",
edgesize = 1,
inset = 0,
color = {r = 0, g = 0, b = 0, a = 1},
},
full = {
texture = "Solid",
edgesize = 1,
inset = 0,
color = {r = 0, g = 0, b = 0, a = 1},
maxcolor = {r = 0, g = 0, b = 0, a = 1},
},
},
spark = {
enabled = false,
position = {
x = 0,
y = 0,
},
size = {
width = 32,
height = 18,
},
bg = {
texture = "",
color = {r = 0.8, g = 0.8, b = 0.8, a = 1},
maxcolor = {r = 1, g = 1, b = 1, a = 1},
},
},
},
},
combatfader = {
enabled = false,
opacity = {
incombat = 1,
hurt = .7,
target = .7,
outofcombat = .3,
},
},
},
},
},
},
}
-- Point Display tables
local Frames = {}
local Borders = {}
local BG = {}
-- Points
local Points = {}
local PointsChanged = {}
local ClassColors
local ClassColorBarTable = {}
local LoggedIn = false
local PlayerClass
local PlayerSpec
local ValidClasses
-- Combat Fader
local CFFrame = CreateFrame("Frame")
local FadeTime = 0.25
local CFStatus = nil
-- Power 'Full' check
local power_check = {
MANA = function()
return UnitPower("player", 0) < UnitPowerMax("player", 0)
end,
RAGE = function()
return UnitPower("player", 1) > 0
end,
ENERGY = function()
return UnitPower("player", 3) < UnitPowerMax("player", 3)
end,
RUNICPOWER = function()
return UnitPower("player", 6) > 0
end,
}
-- Fade frame
local function FadeIt(self, NewOpacity)
local CurrentOpacity = self:GetAlpha()
if NewOpacity > CurrentOpacity then
UIFrameFadeIn(self, FadeTime, CurrentOpacity, NewOpacity)
elseif NewOpacity < CurrentOpacity then
UIFrameFadeOut(self, FadeTime, CurrentOpacity, NewOpacity)
end
end
-- Determine new opacity values for frames
function cPointDisplay:FadeFrames()
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local NewOpacity
local tid = Types[ic].points[it].id
-- Retrieve opacity/visibility for current status
NewOpacity = 1
if db[ic].types[tid].combatfader.enabled then
if CFStatus == "DISABLED" then
NewOpacity = 1
elseif CFStatus == "INCOMBAT" then
NewOpacity = db[ic].types[tid].combatfader.opacity.incombat
elseif CFStatus == "TARGET" then
NewOpacity = db[ic].types[tid].combatfader.opacity.target
elseif CFStatus == "HURT" then
NewOpacity = db[ic].types[tid].combatfader.opacity.hurt
elseif CFStatus == "OUTOFCOMBAT" then
NewOpacity = db[ic].types[tid].combatfader.opacity.outofcombat
end
-- Fade Frame
FadeIt(Frames[ic][tid].bgpanel.frame, NewOpacity)
else
-- Combat Fader disabled for this frame
if Frames[ic][tid].bgpanel.frame:GetAlpha() < 1 then
FadeIt(Frames[ic][tid].bgpanel.frame, NewOpacity)
end
end
end
end
cPointDisplay:UpdatePointDisplay("ENABLE")
end
function cPointDisplay:UpdateCFStatus()
local OldStatus = CFStatus
-- Combat Fader based on status
if UnitAffectingCombat("player") then
CFStatus = "INCOMBAT"
elseif UnitExists("target") then
CFStatus = "TARGET"
elseif UnitHealth("player") < UnitHealthMax("player") then
CFStatus = "HURT"
else
local _, power_token = UnitPowerType("player")
local func = power_check[power_token]
if func and func() then
CFStatus = "HURT"
else
CFStatus = "OUTOFCOMBAT"
end
end
if CFStatus ~= OldStatus then cPointDisplay:FadeFrames() end
end
function cPointDisplay:UpdateCombatFader()
CFStatus = nil
cPointDisplay:UpdateCFStatus()
end
-- On combat state change
function cPointDisplay:CombatFaderCombatState()
-- If in combat, then don't worry about health/power events
if UnitAffectingCombat("player") then
CFFrame:UnregisterEvent("UNIT_HEALTH")
CFFrame:UnregisterEvent("UNIT_POWER_UPDATE")
CFFrame:UnregisterEvent("UNIT_DISPLAYPOWER")
else
CFFrame:RegisterEvent("UNIT_HEALTH")
CFFrame:RegisterEvent("UNIT_POWER_UPDATE")
CFFrame:RegisterEvent("UNIT_DISPLAYPOWER")
end
end
-- Register events for Combat Fader status
function cPointDisplay:UpdateCombatFaderEnabled()
CFFrame:RegisterEvent("PLAYER_ENTERING_WORLD")
CFFrame:RegisterEvent("PLAYER_TARGET_CHANGED")
CFFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
CFFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
CFFrame:SetScript("OnEvent", function(self, event, ...)
if event == "PLAYER_REGEN_ENABLED" or event == "PLAYER_REGEN_DISABLED" then
cPointDisplay:CombatFaderCombatState()
cPointDisplay:UpdateCFStatus()
elseif event == "UNIT_HEALTH" or event == "UNIT_POWER_UPDATE" or event == "UNIT_DISPLAYPOWER" then
local unit = ...
if unit == "player" then
cPointDisplay:UpdateCFStatus()
end
elseif event == "PLAYER_TARGET_CHANGED" then
cPointDisplay:UpdateCFStatus()
elseif event == "PLAYER_ENTERING_WORLD" then
cPointDisplay:CombatFaderCombatState()
cPointDisplay:UpdateCombatFader()
end
end)
cPointDisplay:UpdateCombatFader()
cPointDisplay:FadeFrames()
end
local function SetEmptyBarTextures(ic, it, tid, i)
local cc = ClassColorBarTable[ic]
local dbc = db[ic].types[tid].bars[i]
Frames[ic][tid].bars[i].bg:SetTexture(BG[ic][tid].bars[i].empty)
Frames[ic][tid].bars[i].border:SetBackdrop({bgFile = "", edgeFile = Borders[ic][tid].bars[i].empty, edgeSize = dbc.border.empty.edgesize, tile = false, tileSize = 0, insets = {left = 0, right = 0, top = 0, bottom = 0}})
Frames[ic][tid].bars[i].border:SetHeight(dbc.size.height - dbc.border.empty.inset)
Frames[ic][tid].bars[i].border:SetWidth(dbc.size.width - dbc.border.empty.inset)
if db.classcolor.enabled then
Frames[ic][tid].bars[i].bg:SetVertexColor(cc.bg.empty.r, cc.bg.empty.g, cc.bg.empty.b, dbc.bg.empty.color.a)
Frames[ic][tid].bars[i].border:SetBackdropBorderColor(cc.border.empty.r, cc.border.empty.g, cc.border.empty.b, dbc.border.empty.color.a)
else
Frames[ic][tid].bars[i].bg:SetVertexColor(dbc.bg.empty.color.r, dbc.bg.empty.color.g, dbc.bg.empty.color.b, dbc.bg.empty.color.a)
Frames[ic][tid].bars[i].border:SetBackdropBorderColor(dbc.border.empty.color.r, dbc.border.empty.color.g, dbc.border.empty.color.b, dbc.border.empty.color.a)
end
end
local function SetPartialBarTextures(ic, it, tid, i, partial)
local cc = ClassColorBarTable[ic]
local dbc = db[ic].types[tid].bars[i]
local toColorize = partial
for j = 0, 8 do
Frames[ic][tid].bars[i].subbars[j].frame:Show()
-- BG
Frames[ic][tid].bars[i].subbars[j].bg:SetTexture(BG[ic][tid].bars[i].full)
-- Colors
if j < toColorize then
Frames[ic][tid].bars[i].subbars[j].frame:Show()
if db.classcolor.enabled then Frames[ic][tid].bars[i].subbars[j].bg:SetVertexColor(cc.bg.normal.r, cc.bg.normal.g, cc.bg.normal.b, dbc.bg.full.color.a)
else Frames[ic][tid].bars[i].subbars[j].bg:SetVertexColor(dbc.bg.full.color.r, dbc.bg.full.color.g, dbc.bg.full.color.b, dbc.bg.full.color.a) end
else
Frames[ic][tid].bars[i].subbars[j].frame:Hide()
if db.classcolor.enabled then Frames[ic][tid].bars[i].subbars[j].bg:SetVertexColor(cc.bg.max.r, cc.bg.max.g, cc.bg.max.b, dbc.bg.full.maxcolor.a)
else Frames[ic][tid].bars[i].subbars[j].bg:SetVertexColor(dbc.bg.full.maxcolor.r, dbc.bg.full.maxcolor.g, dbc.bg.full.maxcolor.b, dbc.bg.full.maxcolor.a) end
end
end
end
local function SetPointBarTextures(ic, it, tid, i, points)
local cc = ClassColorBarTable[ic]
local dbc = db[ic].types[tid].bars[i]
-- BG
Frames[ic][tid].bars[i].bg:SetTexture(BG[ic][tid].bars[i].full)
-- Border
Frames[ic][tid].bars[i].border:SetBackdrop({bgFile = "", edgeFile = Borders[ic][tid].bars[i].full, edgeSize = dbc.border.full.edgesize, tile = false, tileSize = 0, insets = {left = 0, right = 0, top = 0, bottom = 0}})
Frames[ic][tid].bars[i].border:SetHeight(dbc.size.height - dbc.border.full.inset)
Frames[ic][tid].bars[i].border:SetWidth(dbc.size.width - dbc.border.full.inset)
-- Colors
if points < Types[ic].points[it].fullcount then
if db.classcolor.enabled then
Frames[ic][tid].bars[i].bg:SetVertexColor(cc.bg.normal.r, cc.bg.normal.g, cc.bg.normal.b, dbc.bg.full.color.a)
Frames[ic][tid].bars[i].border:SetBackdropBorderColor(cc.border.normal.r, cc.border.normal.g, cc.border.normal.b, dbc.border.full.color.a)
else
Frames[ic][tid].bars[i].bg:SetVertexColor(dbc.bg.full.color.r, dbc.bg.full.color.g, dbc.bg.full.color.b, dbc.bg.full.color.a)
Frames[ic][tid].bars[i].border:SetBackdropBorderColor(dbc.border.full.color.r, dbc.border.full.color.g, dbc.border.full.color.b, dbc.border.full.color.a)
end
else
if db.classcolor.enabled then
Frames[ic][tid].bars[i].bg:SetVertexColor(cc.bg.max.r, cc.bg.max.g, cc.bg.max.b, dbc.bg.full.maxcolor.a)
Frames[ic][tid].bars[i].border:SetBackdropBorderColor(cc.border.max.r, cc.border.max.g, cc.border.max.b, dbc.bg.full.maxcolor.a)
else
Frames[ic][tid].bars[i].bg:SetVertexColor(dbc.bg.full.maxcolor.r, dbc.bg.full.maxcolor.g, dbc.bg.full.maxcolor.b, dbc.bg.full.maxcolor.a)
Frames[ic][tid].bars[i].border:SetBackdropBorderColor(dbc.border.full.maxcolor.r, dbc.border.full.maxcolor.g, dbc.border.full.maxcolor.b, dbc.border.full.maxcolor.a)
end
end
-- Spark
if dbc.spark.enabled then
Frames[ic][tid].bars[i].spark.frame:Show()
Frames[ic][tid].bars[i].spark.bg:SetTexture(BG[ic][tid].bars[i].spark)
if points < Types[ic].points[it].barcount then
-- Normal color
if db.classcolor.enabled then
Frames[ic][tid].bars[i].spark.bg:SetVertexColor(cc.spark.normal.r, cc.spark.normal.g, cc.spark.normal.b, dbc.spark.bg.color.a)
else
Frames[ic][tid].bars[i].spark.bg:SetVertexColor(dbc.spark.bg.color.r, dbc.spark.bg.color.g, dbc.spark.bg.color.b, dbc.spark.bg.color.a)
end
else
-- Max color
if db.classcolor.enabled then
Frames[ic][tid].bars[i].spark.bg:SetVertexColor(cc.spark.max.r, cc.spark.max.g, cc.spark.max.b, dbc.spark.bg.maxcolor.a)
else
Frames[ic][tid].bars[i].spark.bg:SetVertexColor(dbc.spark.bg.maxcolor.r, dbc.spark.bg.maxcolor.g, dbc.spark.bg.maxcolor.b, dbc.spark.bg.maxcolor.a)
end
end
else
Frames[ic][tid].bars[i].spark.frame:Hide()
end
end
-- Update Point Bars
local function HideAtIndex(ic, it, tid, i)
if db[ic].types[tid].general.hideempty then
-- Hide "empty" bar
Frames[ic][tid].bars[i].frame:Hide()
else
-- Show bar and set textures to "Empty"
Frames[ic][tid].bars[i].frame:Show()
SetEmptyBarTextures(ic, it, tid, i)
end
-- Hide the "Spark"
Frames[ic][tid].bars[i].spark.frame:Hide()
if #Frames[ic][tid].bars[i].subbars > 0 then
for j = 0, 8 do Frames[ic][tid].bars[i].subbars[j].frame:Hide() end
end
end
function cPointDisplay:UpdatePointDisplay(...)
local UpdateList
if ... == "ENABLE" then
-- Update everything
UpdateList = Types
else
UpdateList = ValidClasses
end
-- Cycle through all Types that need updating
for ic,vc in pairs(UpdateList) do
-- Cycle through all Point Displays in current Type
if Types[ic] then
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
-- Do we hide the Display
if ((Points[tid] == 0 and not db[ic].types[tid].general.showatzero)
or (Points[tid] == nil)
or (ic ~= PlayerClass and ic ~= "GENERAL") -- Not my class
or ((PlayerClass ~= "ROGUE" and (PlayerClass ~= "DRUID" and PlayerSpec ~= 1)) and (ic == "GENERAL") and not UnitHasVehicleUI("player")) -- Impossible to have Combo Points
or (db[ic].types[tid].general.hidein.vehicle and UnitHasVehicleUI("player")) -- Hide in vehicle
or ((db[ic].types[tid].general.hidein.spec - 1) == PlayerSpec)) -- Hide in spec
and not db[ic].types[tid].configmode.enabled then -- Not in config mode
-- Hide Display
Frames[ic][tid].bgpanel.frame:Hide()
else
-- Update the Display
-- Update Bars if their Points have changed
if PointsChanged[tid] then
if Points[tid] == nil then Points[tid] = 0 end
local points = Points[tid];
if tid == "ssf" then points = points / 10 end
for i = 1, Types[ic].points[it].barcount do
if points > i - 1 and points < i and tid == "ssf" then
--- Show bar and set texture to "Partial"
HideAtIndex(ic, it, tid, i)
Frames[ic][tid].bars[i].frame:Show()
SetPartialBarTextures(ic, it, tid, i, Points[tid] - (10 * (i - 1)))
elseif points >= i then
-- Show bar and set textures to "Full"
Frames[ic][tid].bars[i].frame:Show()
SetPointBarTextures(ic, it, tid, i, points)
if #Frames[ic][tid].bars[i].subbars > 0 then
for j = 0, 8 do Frames[ic][tid].bars[i].subbars[j].frame:Hide() end
end
else
HideAtIndex(ic, it, tid, i)
end
end
-- Show the Display
Frames[ic][tid].bgpanel.frame:Show()
-- Flag as having been changed
PointsChanged[tid] = false
end
end
end
end
end
end
local function GetBuffCount(Spell, ...)
if not Spell then return end
local unit = ... or "player"
for i = 1, 255 do
local name, _, count, _, _, _, _, _, _, id = UnitAura(unit, i, "HELPFUL")
if not name then return end
if Spell == id or Spell == name then
if (count == nil) then count = 0 end
return count
end
end
return 0
end
function cPointDisplay:GetPoints(CurClass, CurType)
local NewPoints
-- General
if CurClass == "GENERAL" then
-- Combo Points
if (CurType == "cp") or (CurType == "cp6") then
if (UnitHasVehicleUI("player") and UnitHasVehiclePlayerFrameUI("player")) then
NewPoints = GetComboPoints("vehicle")
if (NewPoints == 0) then
NewPoints = GetComboPoints("vehicle", "vehicle")
end
else
local maxcp = UnitPowerMax("player", 4)
if (CurType == "cp" and maxcp == 5) or
(CurType == "cp6" and maxcp == 6) then
NewPoints = UnitPower("player", 4)
end
end
end
-- Paladin
elseif CurClass == "PALADIN" then
-- Holy Power
if CurType == "hp" then
NewPoints = UnitPower("player", Enum.PowerType.HolyPower)
end
-- Monk
elseif CurClass == "MONK" and PlayerSpec == 3 then -- chi is only for windwalkers
-- Chi
local maxchi = UnitPowerMax("player", Enum.PowerType.Chi)
if (CurType == "c5" and maxchi == 5) or
(CurType == "c6" and maxchi == 6) then
NewPoints = UnitPower("player", Enum.PowerType.Chi)
end
-- Warlock
elseif CurClass == "WARLOCK" then
-- Soul Shards
NewPoints = UnitPower("player", Enum.PowerType.SoulShards, CurType == "ssf")
-- Mage
elseif CurClass == "MAGE" then
-- Arcane Charges
if CurType == "ac" and PlayerSpec == SPEC_MAGE_ARCANE then
NewPoints = UnitPower("player", Enum.PowerType.ArcaneCharges)
-- Icicles
elseif CurType == "ic" and PlayerSpec == 3 then
NewPoints = GetBuffCount(205473) -- Icicle buff id
end
-- Shaman
elseif CurClass == "SHAMAN" then
if CurType == "mw" and PlayerSpec == 2 then
NewPoints = GetBuffCount(344179) -- Maelstrom Weapon buff id
end
-- Demon Hunter
elseif CurClass == "DEMONHUNTER" then
if CurType == "sf" and PlayerSpec == 2 then
NewPoints = GetBuffCount(203981) -- Soul Fragments buff id
end
end
Points[CurType] = NewPoints
end
-- Update all valid Point Displays
function cPointDisplay:UpdatePoints(...)
if not LoggedIn then return end
local HasChanged = false
local Enable = ...
local UpdateList
if ... == "ENABLE" then
-- Update everything
UpdateList = Types
else
UpdateList = ValidClasses
end
-- ENABLE update: Config Mode / Reset displays
if Enable == "ENABLE" then
HasChanged = true
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
PointsChanged[tid] = true
if ( db[ic].types[tid].enabled and db[ic].types[tid].configmode.enabled ) then
-- If Enabled and Config Mode is on, then set points
Points[tid] = db[ic].types[tid].configmode.count
else
Points[tid] = 0
end
end
end
end
-- Normal update: Cycle through valid classes
for ic,vc in pairs(UpdateList) do
-- Cycle through point types for current class
if Types[ic] then
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
if (db[ic].types[tid].enabled and not db[ic].types[tid].configmode.enabled) then
-- Retrieve new point count
local OldPoints = Points[tid]
cPointDisplay:GetPoints(ic, tid)
if Points[tid] ~= OldPoints then
-- Points have changed, flag for updating
HasChanged = true
PointsChanged[tid] = true
end
end
end
end
end
-- Update Point Displays
if HasChanged then cPointDisplay:UpdatePointDisplay(Enable) end
end
-- Enable a Point Display
function cPointDisplay:EnablePointDisplay(c, t)
cPointDisplay:UpdatePoints("ENABLE")
end
-- Disable a Point Display
function cPointDisplay:DisablePointDisplay(c, t)
-- Set to 0 points
Points[t] = 0
PointsChanged[t] = true
-- Update Point Displays
cPointDisplay:UpdatePointDisplay("ENABLE")
end
-- Update frame positions/sizes
function cPointDisplay:UpdatePosition()
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
---- BG Panel
local Parent = _G[db[ic].types[tid].position.parent]
if not Parent then Parent = UIParent end
Frames[ic][tid].bgpanel.frame:SetParent(Parent)
Frames[ic][tid].bgpanel.frame:ClearAllPoints()
Frames[ic][tid].bgpanel.frame:SetPoint(db[ic].types[tid].position.anchorfrom, Parent, db[ic].types[tid].position.anchorto, db[ic].types[tid].position.x, db[ic].types[tid].position.y)
Frames[ic][tid].bgpanel.frame:SetFrameStrata(db[ic].types[tid].position.framelevel.strata)
Frames[ic][tid].bgpanel.frame:SetFrameLevel(db[ic].types[tid].position.framelevel.level)
Frames[ic][tid].bgpanel.frame:SetWidth(db[ic].types[tid].bgpanel.size.width)
Frames[ic][tid].bgpanel.frame:SetHeight(db[ic].types[tid].bgpanel.size.height)
Frames[ic][tid].bgpanel.border:SetFrameStrata(db[ic].types[tid].position.framelevel.strata)
Frames[ic][tid].bgpanel.border:SetFrameLevel(db[ic].types[tid].position.framelevel.level + 1)
Frames[ic][tid].bgpanel.border:SetHeight(db[ic].types[tid].bgpanel.size.height - db[ic].types[tid].bgpanel.border.inset)
Frames[ic][tid].bgpanel.border:SetWidth(db[ic].types[tid].bgpanel.size.width - db[ic].types[tid].bgpanel.border.inset)
---- Anchor
Frames[ic][tid].anchor.frame:SetParent(Parent)
Frames[ic][tid].anchor.frame:ClearAllPoints()
Frames[ic][tid].anchor.frame:SetPoint(db[ic].types[tid].position.anchorfrom, Parent, db[ic].types[tid].position.anchorto, db[ic].types[tid].position.x, db[ic].types[tid].position.y)
Frames[ic][tid].anchor.frame:SetFrameStrata(db[ic].types[tid].position.framelevel.strata)
Frames[ic][tid].anchor.frame:SetFrameLevel(db[ic].types[tid].position.framelevel.level)
Frames[ic][tid].anchor.frame:SetWidth(db[ic].types[tid].bgpanel.size.width)
Frames[ic][tid].anchor.frame:SetHeight(db[ic].types[tid].bgpanel.size.height)
---- Point Bars
local IsVert, IsRev = db[ic].types[tid].general.direction.vertical, db[ic].types[tid].general.direction.reverse
local XPos, YPos, CPRatio, TWidth, THeight
local Positions = {}
local CPSize = {}
-- Get total Width and Height of Point Display, and the size of each Bar
TWidth = 0
THeight = 0
for i = 1, Types[ic].points[it].barcount do
if IsVert then
CPSize[i] = db[ic].types[tid].bars[i].size.height + db[ic].types[tid].bars[i].position.gap
THeight = THeight + db[ic].types[tid].bars[i].size.height + db[ic].types[tid].bars[i].position.gap
else
CPSize[i] = db[ic].types[tid].bars[i].size.width + db[ic].types[tid].bars[i].position.gap
TWidth = TWidth + db[ic].types[tid].bars[i].size.width + db[ic].types[tid].bars[i].position.gap
end
end
-- Calculate position of each Bar
for i = 1, Types[ic].points[it].barcount do
local CurPos = 0
local TVal
-- Get appropriate total to compare each Bar against
if IsVert then
TVal = THeight
else
TVal = TWidth
end
-- Add up position of each Bar in sequence
if i == 1 then
CurPos = (CPSize[i] / 2) - (TVal / 2)
else
for j = 1, i-1 do
CurPos = CurPos + CPSize[j]
end
CurPos = CurPos + (CPSize[i] / 2) - (TVal / 2)
end
-- Found Position of Bar
Positions[i] = CurPos
end
-- Position each Bar
for i = 1, Types[ic].points[it].barcount do
local XOfs = db[ic].types[tid].bars[i].position.xofs
local YOfs = db[ic].types[tid].bars[i].position.yofs
local RevMult = 1
if IsRev then RevMult = -1 end
Frames[ic][tid].bars[i].frame:SetParent(Frames[ic][tid].bgpanel.frame)
Frames[ic][tid].bars[i].frame:ClearAllPoints()
if IsVert then
XPos = 0
YPos = Positions[i] * RevMult
else
XPos = Positions[i] * RevMult
YPos = 0
end
Frames[ic][tid].bars[i].frame:SetPoint("CENTER", Frames[ic][tid].bgpanel.frame, "CENTER", XPos + XOfs, YPos + YOfs)
Frames[ic][tid].bars[i].frame:SetFrameStrata(db[ic].types[tid].position.framelevel.strata)
Frames[ic][tid].bars[i].frame:SetFrameLevel(db[ic].types[tid].position.framelevel.level + 2)
Frames[ic][tid].bars[i].frame:SetWidth(db[ic].types[tid].bars[i].size.width)
Frames[ic][tid].bars[i].frame:SetHeight(db[ic].types[tid].bars[i].size.height)
Frames[ic][tid].bars[i].border:SetFrameStrata(db[ic].types[tid].position.framelevel.strata)
Frames[ic][tid].bars[i].border:SetFrameLevel(db[ic].types[tid].position.framelevel.level + 4)
Frames[ic][tid].bars[i].spark.frame:SetParent(Frames[ic][tid].bars[i].frame)
Frames[ic][tid].bars[i].spark.frame:ClearAllPoints()
Frames[ic][tid].bars[i].spark.frame:SetPoint("CENTER", Frames[ic][tid].bars[i].frame, "CENTER", db[ic].types[tid].bars[i].spark.position.x, db[ic].types[tid].bars[i].spark.position.y)
Frames[ic][tid].bars[i].spark.frame:SetFrameStrata(db[ic].types[tid].position.framelevel.strata)
Frames[ic][tid].bars[i].spark.frame:SetFrameLevel(db[ic].types[tid].position.framelevel.level + 5)
Frames[ic][tid].bars[i].spark.frame:SetWidth(db[ic].types[tid].bars[i].spark.size.width)
Frames[ic][tid].bars[i].spark.frame:SetHeight(db[ic].types[tid].bars[i].spark.size.height)
if #Frames[ic][tid].bars[i].subbars > 0 then
for j = 0, 8 do
local XSOfs = 0
local YSOfs = 0
local fillStart = { "LEFT", "RIGHT", "TOP", "BOTTOM" }
if IsVert then
YSOfs = j * (db[ic].types[tid].bars[i].size.height / 9) * RevMult
if IsRev then fillStart = "TOP" else fillStart = "BOTTOM" end
else
XSOfs = j * (db[ic].types[tid].bars[i].size.width / 9) * RevMult
if IsRev then fillStart = "RIGHT" else fillStart = "LEFT" end
end
Frames[ic][tid].bars[i].subbars[j].frame:SetParent(Frames[ic][tid].bars[i].frame)
Frames[ic][tid].bars[i].subbars[j].frame:ClearAllPoints()
Frames[ic][tid].bars[i].subbars[j].frame:SetPoint(fillStart, Frames[ic][tid].bars[i].frame, fillStart, XSOfs, YSOfs)
Frames[ic][tid].bars[i].subbars[j].frame:SetFrameStrata(Frames[ic][tid].bars[i].frame:GetFrameStrata())
Frames[ic][tid].bars[i].subbars[j].frame:SetFrameLevel(Frames[ic][tid].bars[i].frame:GetFrameLevel() + 1)
if IsVert then
Frames[ic][tid].bars[i].subbars[j].frame:SetWidth(db[ic].types[tid].bars[i].size.width)
Frames[ic][tid].bars[i].subbars[j].frame:SetHeight(db[ic].types[tid].bars[i].size.height / 9)
else
Frames[ic][tid].bars[i].subbars[j].frame:SetWidth(db[ic].types[tid].bars[i].size.width / 9)
Frames[ic][tid].bars[i].subbars[j].frame:SetHeight(db[ic].types[tid].bars[i].size.height)
end
end
end
end
end
end
end
-- Update BG Panel textures
function cPointDisplay:UpdateBGPanelTextures()
local BorderA
local BGA
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
-- Border
if db[ic].types[tid].bgpanel.enabled then BorderA = db[ic].types[tid].bgpanel.border.color.a else BorderA = 0 end
Frames[ic][tid].bgpanel.border:SetBackdrop({bgFile = "", edgeFile = Borders[ic][tid].bgpanel, edgeSize = db[ic].types[tid].bgpanel.border.edgesize, tile = false, tileSize = 0, insets = {left = 0, right = 0, top = 0, bottom = 0}})
Frames[ic][tid].bgpanel.border:SetBackdropBorderColor(db[ic].types[tid].bgpanel.border.color.r, db[ic].types[tid].bgpanel.border.color.g, db[ic].types[tid].bgpanel.border.color.b, BorderA)
-- BG
if db[ic].types[tid].bgpanel.enabled then BGA = db[ic].types[tid].bgpanel.bg.color.a else BGA = 0 end
Frames[ic][tid].bgpanel.bg:SetTexture(BG[ic][tid].bgpanel)
Frames[ic][tid].bgpanel.bg:SetVertexColor(db[ic].types[tid].bgpanel.bg.color.r, db[ic].types[tid].bgpanel.bg.color.g, db[ic].types[tid].bgpanel.bg.color.b, BGA)
end
end
end
-- Retrieve SharedMedia backgound
local function RetrieveBackground(background)
background = LSM:Fetch("background", background, true)
return background
end
local function VerifyBackground(background)
local newbackground = ""
if background and strlen(background) > 0 then
newbackground = RetrieveBackground(background)
if background ~= "None" then
if not newbackground then
print("Background "..background.." was not found in SharedMedia.")
newbackground = ""
end
end
end
return newbackground
end
-- Retrieve SharedMedia border
local function RetrieveBorder(border)
border = LSM:Fetch("border", border, true)
return border
end
local function VerifyBorder(border)
local newborder = ""
if border and strlen(border) > 0 then
newborder = RetrieveBorder(border)
if border ~= "None" then
if not newborder then
print("Border "..border.." was not found in SharedMedia.")
newborder = ""
end
end
end
return newborder
end
-- Retrieve Border/Background textures and store in tables
function cPointDisplay:GetTextures()
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
Borders[ic][tid].bgpanel = VerifyBorder(db[ic].types[tid].bgpanel.border.texture)
BG[ic][tid].bgpanel = VerifyBackground(db[ic].types[tid].bgpanel.bg.texture)
for i = 1, Types[ic].points[it].barcount do
Borders[ic][tid].bars[i].empty = VerifyBorder(db[ic].types[tid].bars[i].border.empty.texture)
Borders[ic][tid].bars[i].full = VerifyBorder(db[ic].types[tid].bars[i].border.full.texture)
BG[ic][tid].bars[i].empty = VerifyBackground(db[ic].types[tid].bars[i].bg.empty.texture)
BG[ic][tid].bars[i].full = VerifyBackground(db[ic].types[tid].bars[i].bg.full.texture)
BG[ic][tid].bars[i].spark = VerifyBackground(db[ic].types[tid].bars[i].spark.bg.texture)
end
end
end
end
function cPointDisplay:GetClassColors()
local CurClassColor
for k,v in pairs(Types) do
tinsert(ClassColorBarTable, k)
if k == "GENERAL" then
CurClassColor = {r = 1, g = 1, b = 1}
else
CurClassColor = CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[k] or RAID_CLASS_COLORS[k]
end
ClassColorBarTable[k] = {
bg = {
empty = {r = db.classcolor.bg.empty * CurClassColor.r, g = db.classcolor.bg.empty * CurClassColor.g, b = db.classcolor.bg.empty * CurClassColor.b},
normal = {r = db.classcolor.bg.normal * CurClassColor.r, g = db.classcolor.bg.normal * CurClassColor.g, b = db.classcolor.bg.normal * CurClassColor.b},
max = {r = db.classcolor.bg.max * CurClassColor.r, g = db.classcolor.bg.max * CurClassColor.g, b = db.classcolor.bg.max * CurClassColor.b},
},
border = {
empty = {r = db.classcolor.border.empty * CurClassColor.r, g = db.classcolor.border.empty * CurClassColor.g, b = db.classcolor.border.empty * CurClassColor.b},
normal = {r = db.classcolor.border.normal * CurClassColor.r, g = db.classcolor.border.normal * CurClassColor.g, b = db.classcolor.border.normal * CurClassColor.b},
max = {r = db.classcolor.border.max * CurClassColor.r, g = db.classcolor.border.max * CurClassColor.g, b = db.classcolor.border.max * CurClassColor.b},
},
spark = {
normal = {r = db.classcolor.spark.normal * CurClassColor.r, g = db.classcolor.spark.normal * CurClassColor.g, b = db.classcolor.spark.normal * CurClassColor.b},
max = {r = db.classcolor.spark.max * CurClassColor.r, g = db.classcolor.spark.max * CurClassColor.g, b = db.classcolor.spark.max * CurClassColor.b},
},
}
end
end
-- Frame Creation
local function CreateFrames()
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
-- BG Panel
local FrameName = "cPointDisplay_Frames_"..tid
Frames[ic][tid].bgpanel.frame = CreateFrame("Frame", FrameName, UIParent, BackdropTemplateMixin and "BackdropTemplate")
Frames[ic][tid].bgpanel.bg = Frames[ic][tid].bgpanel.frame:CreateTexture(nil, "ARTWORK")
Frames[ic][tid].bgpanel.bg:SetAllPoints(Frames[ic][tid].bgpanel.frame)
Frames[ic][tid].bgpanel.border = CreateFrame("Frame", nil, UIParent, BackdropTemplateMixin and "BackdropTemplate")
Frames[ic][tid].bgpanel.border:SetParent(Frames[ic][tid].bgpanel.frame)
Frames[ic][tid].bgpanel.border:ClearAllPoints()
Frames[ic][tid].bgpanel.border:SetPoint("CENTER", Frames[ic][tid].bgpanel.frame, "CENTER", 0, 0)
Frames[ic][tid].bgpanel.frame:Hide()
-- Anchor Panel
local AnchorFrameName = "cPointDisplay_Frames_"..tid.."_avAanchor"
Frames[ic][tid].anchor.frame = CreateFrame("Frame", AnchorFrameName, UIParent, BackdropTemplateMixin and "BackdropTemplate")
-- Point bars
for i = 1, Types[ic].points[it].barcount do
local BarFrameName = "cPointDisplay_Frames_"..tid.."_bar"..tostring(i)
Frames[ic][tid].bars[i].frame = CreateFrame("Frame", BarFrameName, UIParent, BackdropTemplateMixin and "BackdropTemplate")
Frames[ic][tid].bars[i].bg = Frames[ic][tid].bars[i].frame:CreateTexture(nil, "ARTWORK")
Frames[ic][tid].bars[i].bg:SetAllPoints(Frames[ic][tid].bars[i].frame)
Frames[ic][tid].bars[i].border = CreateFrame("Frame", nil, UIParent, BackdropTemplateMixin and "BackdropTemplate")
Frames[ic][tid].bars[i].border:SetParent(Frames[ic][tid].bars[i].frame)
Frames[ic][tid].bars[i].border:ClearAllPoints()
Frames[ic][tid].bars[i].border:SetPoint("CENTER", Frames[ic][tid].bars[i].frame, "CENTER", 0, 0)
Frames[ic][tid].bars[i].frame:Show()
if tid == "ssf" then
for j = 0, 8 do
local SubBarSubFrameName = "cPointDisplay_Frames_"..tid.."_bar"..tostring(i).."_sub"..tostring(j)
Frames[ic][tid].bars[i].subbars[j] = {frame = nil, bg = nil}
Frames[ic][tid].bars[i].subbars[j].frame = CreateFrame("Frame", SubBarSubFrameName, UIParent, BackdropTemplateMixin and "BackdropTemplate")
Frames[ic][tid].bars[i].subbars[j].bg = Frames[ic][tid].bars[i].subbars[j].frame:CreateTexture(nil, "ARTWORK")
Frames[ic][tid].bars[i].subbars[j].bg:SetAllPoints(Frames[ic][tid].bars[i].subbars[j].frame)
Frames[ic][tid].bars[i].subbars[j].frame:Show()
end
end
-- Spark
Frames[ic][tid].bars[i].spark.frame = CreateFrame("Frame", nil, UIParent, BackdropTemplateMixin and "BackdropTemplate")
Frames[ic][tid].bars[i].spark.bg = Frames[ic][tid].bars[i].spark.frame:CreateTexture(nil, "ARTWORK")
Frames[ic][tid].bars[i].spark.bg:SetAllPoints(Frames[ic][tid].bars[i].spark.frame)
Frames[ic][tid].bars[i].spark.frame:Show()
end
end
end
end
-- Table creation
local function CreateTables()
-- Frames
wipe(Frames)
wipe(Borders)
wipe(BG)
wipe(Points)
wipe(PointsChanged)
for ic,vc in pairs(Types) do
-- Insert Class header
tinsert(Frames, ic); Frames[ic] = {};
tinsert(Borders, ic); Borders[ic] = {};
tinsert(BG, ic); BG[ic] = {};
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
-- Frames
tinsert(Frames[ic], tid)
tinsert(Borders[ic], tid)
tinsert(BG[ic], tid)
Frames[ic][tid] = {
anchor = {frame = nil},
bgpanel = {frame = nil, bg = nil, border = nil},
bars = {},
}
Borders[ic][tid] = {
bgpanel = "",
bars = {},
}
BG[ic][tid] = {
bgpanel = "",
bars = {},
}
for i = 1, Types[ic].points[it].barcount do
Frames[ic][tid].bars[i] = {frame = nil, bg = nil, border = nil, spark = {frame = nil, bg = nil}, subbars = {}}
Borders[ic][tid].bars[i] = {empty = "", full = ""}
BG[ic][tid].bars[i] = {empty = "", full = "", spark = ""}
end
-- Points
Points[tid] = 0
-- Points Changed table
PointsChanged[tid] = false
end
end
end
function cPointDisplay:ProfChange()
if not LoggedIn then return end
db = self.db.profile
cPointDisplay:ConfigRefresh()
cPointDisplay:Refresh()
end
-- Refresh cPointDisplay
function cPointDisplay:Refresh()
if not LoggedIn then return end
cPointDisplay:UpdateSpec()
cPointDisplay:UpdateCombatFaderEnabled()
cPointDisplay:GetTextures()
cPointDisplay:UpdateBGPanelTextures()
cPointDisplay:UpdatePosition()
cPointDisplay:UpdatePoints("ENABLE")
end
-- Hide default UI frames
function cPointDisplay:HideUIElements()
if db["GENERAL"].types["cp"].enabled and db["GENERAL"].types["cp"].general.hideui then
local CPF = ComboPointPlayerFrame
if CPF then
CPF:Hide()
CPF:SetScript("OnShow", function(self) self:Hide() end)
end
end
if db["PALADIN"].types["hp"].enabled and db["PALADIN"].types["hp"].general.hideui then
local HPF = PaladinPowerBarFrame
if HPF then
HPF:Hide()
HPF:SetScript("OnShow", function(self) self:Hide() end)
end
end
if db["MONK"].types["c5"].enabled and db["MONK"].types["c5"].general.hideui then
local CB = MonkHarmonyBarFrame
if CB then
CB:Hide()
CB:SetScript("OnShow", function(self) self:Hide() end)
end
end
if db["WARLOCK"].types["ss"].enabled and db["WARLOCK"].types["ss"].general.hideui then
local SSF = WarlockPowerFrame
if SSF then
SSF:Hide()
SSF:SetScript("OnShow", function(self) self:Hide() end)
end
end
if db["MAGE"].types["ac"].enabled and db["MAGE"].types["ac"].general.hideui then
local APF = MageArcaneChargesFrame
if APF then
APF:Hide()
APF:SetScript("OnShow", function(self) self:Hide() end)
end
end
end
function cPointDisplay:UpdateSpec()
PlayerSpec = GetSpecialization()
end
function cPointDisplay:PLAYER_ENTERING_WORLD()
cPointDisplay:UpdateSpec()
cPointDisplay:UpdatePoints("ENABLE")
cPointDisplay:UpdatePosition()
end
local function ClassColorsUpdate()
ClassColors = CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[PlayerClass] or RAID_CLASS_COLORS[PlayerClass]
cPointDisplay:GetClassColors()
cPointDisplay:UpdatePoints("ENABLE")
end
function cPointDisplay:PLAYER_LOGIN()
PlayerClass = select(2, UnitClass("player"))
-- Build Class list to run updates on
ValidClasses = {
["GENERAL"] = true,
[PlayerClass] = true,
},
-- Register Media
LSM:Register("border", "Solid", [[Interface\Addons\cPointDisplay\Media\SolidBorder]])
LSM:Register("background", "Round-Small", [[Interface\Addons\cPointDisplay\Media\Round-Small]])
LSM:Register("background", "Round-Smaller", [[Interface\Addons\cPointDisplay\Media\Round-Smaller]])
LSM:Register("background", "Arrow", [[Interface\Addons\cPointDisplay\Media\Arrow]])
LSM:Register("background", "Holy Power 1", [[Interface\Addons\cPointDisplay\Media\HolyPower1]])
LSM:Register("background", "Holy Power 2", [[Interface\Addons\cPointDisplay\Media\HolyPower2]])
LSM:Register("background", "Holy Power 3", [[Interface\Addons\cPointDisplay\Media\HolyPower3]])
LSM:Register("background", "Soul Shard", [[Interface\Addons\cPointDisplay\Media\SoulShard]])
-- Hide Elements
cPointDisplay:HideUIElements()
-- Register Events
-- Throttled Events
local EventList = {
-- "UNIT_COMBO_POINTS",
"VEHICLE_UPDATE",
"UNIT_AURA",
}
if (PlayerClass == "PALADIN") then
tinsert(EventList, "UNIT_POWER_UPDATE")
end
if (PlayerClass == "MONK") then
tinsert(EventList, "UNIT_POWER_UPDATE")
tinsert(EventList, "PLAYER_TALENT_UPDATE")
end
if (PlayerClass == "WARLOCK") then
tinsert(EventList, "UNIT_POWER_UPDATE")
tinsert(EventList, "UNIT_DISPLAYPOWER")
end
if (PlayerClass == "MAGE") then
tinsert(EventList, "UNIT_POWER_UPDATE")
end
local UpdateSpeed = (1 / db.updatespeed)
self:RegisterBucketEvent(EventList, UpdateSpeed, "UpdatePoints")
-- Instant Events
self:RegisterEvent("PLAYER_TARGET_CHANGED", "UpdatePoints")
if (PlayerClass == "HUNTER") then
self:RegisterEvent("SPELL_UPDATE_CHARGES", "UpdatePoints")
end
if (PlayerClass == "ROGUE" or PlayerClass == "DRUID") then
self:RegisterEvent("UNIT_POWER_UPDATE", "UpdatePoints")
end
-- Class Colors
if CUSTOM_CLASS_COLORS then
CUSTOM_CLASS_COLORS:RegisterCallback(ClassColorsUpdate)
end
ClassColorsUpdate()
-- Flag as Logged In
LoggedIn = true
-- Refresh Addon
cPointDisplay:Refresh()
end
function cPointDisplay:OnInitialize()
self.db = LibStub("AceDB-3.0"):New("cPointDisplayDB", defaults, "Default")
self.db.RegisterCallback(self, "OnProfileChanged", "ProfChange")
self.db.RegisterCallback(self, "OnProfileCopied", "ProfChange")
self.db.RegisterCallback(self, "OnProfileReset", "ProfChange")
cPointDisplay:SetUpInitialOptions()
db = self.db.profile
CreateTables()
CreateFrames()
-- Turn off Config Mode
for ic,vc in pairs(Types) do
for it,vt in ipairs(Types[ic].points) do
local tid = Types[ic].points[it].id
db[ic].types[tid].configmode.enabled = false
end
end
self:RegisterEvent("PLAYER_LOGIN")
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED", "UpdateSpec")
end |
--- A task to combine multiple files into one which are then executed within a virtual file system.
-- @module howl.modules.tasks.Pack
local assert = require "howl.lib.assert"
local dump = require "howl.lib.dump"
local fs = require "howl.platform".fs
local mixin = require "howl.class.mixin"
local rebuild = require "howl.lexer.rebuild"
local CopySource = require "howl.files.CopySource"
local Runner = require "howl.tasks.Runner"
local Task = require "howl.tasks.Task"
local formatTemplate = require "howl.lib.utils".formatTemplate
local template = require "howl.modules.tasks.pack.template"
local vfs = require "howl.modules.tasks.pack.vfs"
local PackTask = Task:subclass("howl.modules.tasks.pack.PackTask")
:include(mixin.filterable)
:include(mixin.delegate("sources", {"from", "include", "exclude"}))
:addOptions { "minify", "startup", "output" }
function PackTask:initialize(context, name, dependencies)
Task.initialize(self, name, dependencies)
self.root = context.root
self.sources = CopySource()
self.sources:modify(function(file)
local contents = file.contents
if self.options.minify and loadstring(contents) then
return rebuild.minifyString(contents)
end
end)
self:exclude { ".git", ".svn", ".gitignore", context.out }
self:description("Combines multiple files using Pack")
end
function PackTask:configure(item)
Task.configure(self, item)
self.sources:configure(item)
end
-- TODO: Add a custom "ouput" mixin
function PackTask:output(value)
assert.argType(value, "string", "output", 1)
if self.options.output then error("Cannot set output multiple times") end
self.options.output = value
self:Produces(value)
end
function PackTask:setup(context, runner)
Task.setup(self, context, runner)
if not self.options.startup then
context.logger:error("Task '%s': No startup file", self.name)
end
self:requires(self.options.startup)
if not self.options.output then
context.logger:error("Task '%s': No output file", self.name)
end
end
function PackTask:runAction(context)
local files = self.sources:gatherFiles(self.root)
local startup = self.options.startup
local output = self.options.output
local minify = self.options.minify
local resultFiles = {}
for _, file in pairs(files) do
context.logger:verbose("Including " .. file.relative)
resultFiles[file.name] = file.contents
end
local result = formatTemplate(template, {
files = dump.serialise(resultFiles),
startup = ("%q"):format(startup),
vfs = vfs,
})
if minify then
result = rebuild.minifyString(result)
end
fs.write(fs.combine(context.root, output), result)
end
local PackExtensions = { }
function PackExtensions:pack(name, taskDepends)
return self:injectTask(PackTask(self.env, name, taskDepends))
end
local function apply()
Runner:include(PackExtensions)
end
return {
name = "pack task",
description = "A task to combine multiple files into one which are then executed within a virtual file system.",
apply = apply,
PackTask = PackTask,
}
|
----------------------------------------------------------------------------------------------------
--
-- Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
--
-- SPDX-License-Identifier: Apache-2.0 OR MIT
--
--
--
----------------------------------------------------------------------------------------------------
local DrawCalls =
{
Properties =
{
CanvasCheckbox = {default = EntityId()},
MaskCheckbox = {default = EntityId()},
GradientMaskCheckbox = {default = EntityId()},
RtFaderCheckbox = {default = EntityId()},
RtOuterFaderCheckbox = {default = EntityId()},
BlendModeCheckbox = {default = EntityId()},
SrgbCheckbox = {default = EntityId()},
ExceedMaxTexturesCheckbox = {default = EntityId()},
ExceedMaxVertsCheckbox = {default = EntityId()},
AnimatePosCheckbox = {default = EntityId()},
AnimateScaleCheckbox = {default = EntityId()},
AnimateRotationCheckbox = {default = EntityId()},
ParticlesCheckbox = {default = EntityId()},
InnerFaderSlider = {default = EntityId()},
OuterFaderSlider = {default = EntityId()},
DebugDisplayDropdown = {default = EntityId()},
ReportDrawCallsButton = {default = EntityId()},
},
}
function DrawCalls:OnActivate()
self.initializationHandler = UiInitializationBus.Connect(self, self.entityId);
end
function DrawCalls:InGamePostActivate()
self.initializationHandler:Disconnect()
self.initializationHandler = nil
self:SetIsCanvasLoaded(true)
-- Handlers for checkboxes
self.CanvasCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.CanvasCheckbox)
self.MaskCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.MaskCheckbox)
self.GradientMaskCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.GradientMaskCheckbox)
self.RtFaderCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.RtFaderCheckbox)
self.RtOuterFaderCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.RtOuterFaderCheckbox)
self.BlendModeCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.BlendModeCheckbox)
self.SrgbCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.SrgbCheckbox)
self.ExceedMaxTexturesCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.ExceedMaxTexturesCheckbox)
self.ExceedMaxVertsCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.ExceedMaxVertsCheckbox)
self.AnimatePosCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.AnimatePosCheckbox)
self.AnimateScaleCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.AnimateScaleCheckbox)
self.AnimateRotationCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.AnimateRotationCheckbox)
self.ParticlesCheckboxHandler = UiCheckboxNotificationBus.Connect(self, self.Properties.ParticlesCheckbox)
self.InnerFaderSliderHandler = UiSliderNotificationBus.Connect(self, self.Properties.InnerFaderSlider)
self.OuterFaderSliderHandler = UiSliderNotificationBus.Connect(self, self.Properties.OuterFaderSlider)
self.DebugDisplayDropdownHandler = UiDropdownNotificationBus.Connect(self, self.Properties.DebugDisplayDropdown)
self.ReportDrawCallsButtonHandler = UiButtonNotificationBus.Connect(self, self.Properties.ReportDrawCallsButton)
end
function DrawCalls:OnDeactivate()
self.CanvasCheckboxHandler:Disconnect()
self.MaskCheckboxHandler:Disconnect()
self.GradientMaskCheckboxHandler:Disconnect()
self.RtFaderCheckboxHandler:Disconnect()
self.RtOuterFaderCheckboxHandler:Disconnect()
self.BlendModeCheckboxHandler:Disconnect()
self.SrgbCheckboxHandler:Disconnect()
self.ExceedMaxTexturesCheckboxHandler:Disconnect()
self.ExceedMaxVertsCheckboxHandler:Disconnect()
self.AnimatePosCheckboxHandler:Disconnect()
self.AnimateScaleCheckboxHandler:Disconnect()
self.AnimateRotationCheckboxHandler:Disconnect()
self.ParticlesCheckboxHandler:Disconnect()
self.InnerFaderSliderHandler:Disconnect()
self.OuterFaderSliderHandler:Disconnect()
self.DebugDisplayDropdownHandler:Disconnect()
self.ReportDrawCallsButtonHandler:Disconnect()
end
function DrawCalls:OnCheckboxStateChange(isChecked)
local element = UiCheckboxNotificationBus.GetCurrentBusId()
if (element == self.Properties.CanvasCheckbox) then
self:SetIsCanvasLoaded(isChecked)
elseif (not (self.exampleCanvas == nil)) then
if (element == self.Properties.MaskCheckbox) then
SetIsMaskEnabledRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.GradientMaskCheckbox) then
SetIsGradientMaskEnabledRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.RtFaderCheckbox) then
SetIsRtFaderEnabledRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.RtOuterFaderCheckbox) then
SetIsRtOuterFaderEnabled(self.exampleCanvasBackground, isChecked)
elseif (element == self.Properties.BlendModeCheckbox) then
EnableBlendModeAddRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.SrgbCheckbox) then
EnableSrgbRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.ExceedMaxTexturesCheckbox) then
EnableExtraTexturesRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.ExceedMaxVertsCheckbox) then
EnableExtraSlicesRecursive(self.performanceElements, isChecked)
elseif (element == self.Properties.AnimatePosCheckbox) then
EnableAnimatePos(self.exampleCanvas, isChecked)
elseif (element == self.Properties.AnimateScaleCheckbox) then
EnableAnimateScale(self.exampleCanvas, isChecked)
elseif (element == self.Properties.AnimateRotationCheckbox) then
EnableAnimateRotation(self.exampleCanvas, isChecked)
elseif (element == self.Properties.ParticlesCheckbox) then
EnableParticlesRecursive(self.performanceElements, isChecked)
end
end
end
function DrawCalls:OnSliderValueChanging(value)
if (not (self.exampleCanvas == nil)) then
local element = UiSliderNotificationBus.GetCurrentBusId()
if (element == self.Properties.InnerFaderSlider) then
SetInnerFaderValueRecursive(self.performanceElements, value)
elseif (element == self.Properties.OuterFaderSlider) then
SetOuterFaderValue(self.exampleCanvasBackground, value)
end
end
end
function DrawCalls:OnDropdownValueChanged(value)
local dropdownElement = UiDropdownNotificationBus.GetCurrentBusId()
if (dropdownElement == self.Properties.DebugDisplayDropdown) then
local contentElement = UiElementBus.Event.FindDescendantByName(dropdownElement, "Content")
local index = UiElementBus.Event.GetIndexOfChildByEntityId(contentElement, value)
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_DisplayDrawCallData 0")
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_DisplayTextureData 0")
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_DisplayCanvasData 0")
if (index == 0) then
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_DisplayDrawCallData 1")
elseif (index == 1) then
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_DisplayTextureData 1")
elseif (index == 2) then
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_DisplayCanvasData 1")
end
end
end
function DrawCalls:OnButtonClick()
local element = UiButtonNotificationBus.GetCurrentBusId()
if (element == self.Properties.ReportDrawCallsButton) then
ConsoleRequestBus.Broadcast.ExecuteConsoleCommand("ui_ReportDrawCalls")
end
end
function DrawCalls:SetIsCanvasLoaded(enabled)
if (enabled) then
if (self.exampleCanvas == nil) then
self.exampleCanvas = UiCanvasManagerBus.Broadcast.LoadCanvas("UI/Canvases/LyShineExamples/Performance/DrawCallsExample.uicanvas")
self.exampleCanvasBackground = UiCanvasBus.Event.FindElementByName(self.exampleCanvas, "Background");
self.performanceElements = UiCanvasBus.Event.FindElementByName(self.exampleCanvas, "PerformanceElements");
SetIsMaskEnabledRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.MaskCheckbox))
SetIsGradientMaskEnabledRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.GradientMaskCheckbox))
SetIsRtFaderEnabledRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.RtFaderCheckbox))
SetIsRtOuterFaderEnabled(self.exampleCanvasBackground, UiCheckboxBus.Event.GetState(self.Properties.RtOuterFaderCheckbox))
EnableBlendModeAddRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.BlendModeCheckbox))
EnableSrgbRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.SrgbCheckbox))
EnableExtraTexturesRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.ExceedMaxTexturesCheckbox))
EnableExtraSlicesRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.ExceedMaxVertsCheckbox))
EnableAnimatePos(self.exampleCanvas, UiCheckboxBus.Event.GetState(self.Properties.AnimatePosCheckbox))
EnableAnimateScale(self.exampleCanvas, UiCheckboxBus.Event.GetState(self.Properties.AnimateScaleCheckbox))
EnableParticlesRecursive(self.performanceElements, UiCheckboxBus.Event.GetState(self.Properties.ParticlesCheckbox))
SetInnerFaderValueRecursive(self.performanceElements, UiSliderBus.Event.GetValue(self.Properties.InnerFaderSlider))
SetOuterFaderValue(self.exampleCanvasBackground, UiSliderBus.Event.GetValue(self.Properties.OuterFaderSlider))
end
else
if (not (self.exampleCanvas == nil)) then
UiCanvasManagerBus.Broadcast.UnloadCanvas(self.exampleCanvas)
self.exampleCanvas = nil
self.exampleCanvasBackground = nil
self.performanceElements = nil
end
end
end
function SetIsMaskEnabledRecursive(element, enabled)
UiMaskBus.Event.SetIsMaskingEnabled(element, enabled)
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
SetIsMaskEnabledRecursive(children[i], enabled)
end
end
function SetIsGradientMaskEnabledRecursive(element, enabled)
UiMaskBus.Event.SetUseRenderToTexture(element, enabled)
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
SetIsGradientMaskEnabledRecursive(children[i], enabled)
end
end
function SetIsRtFaderEnabledRecursive(element, enabled)
UiFaderBus.Event.SetUseRenderToTexture(element, enabled)
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
SetIsRtFaderEnabledRecursive(children[i], enabled)
end
end
function SetIsRtOuterFaderEnabled(element, enabled)
UiFaderBus.Event.SetUseRenderToTexture(element, enabled)
end
function EnableBlendModeAddRecursive(element, enabled)
local name = UiElementBus.Event.GetName(element)
if (name == "BlendModeNormal") then
UiElementBus.Event.SetIsEnabled(element, not enabled)
elseif (name == "BlendModeAdd") then
UiElementBus.Event.SetIsEnabled(element, enabled)
end
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
EnableBlendModeAddRecursive(children[i], enabled)
end
end
function EnableSrgbRecursive(element, enabled)
local name = UiElementBus.Event.GetName(element)
if (name == "RttImage") then
UiImageBus.Event.SetIsRenderTargetSRGB(element, enabled)
end
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
EnableSrgbRecursive(children[i], enabled)
end
end
function EnableExtraTexturesRecursive(element, enabled)
local name = UiElementBus.Event.GetName(element)
if (name == "ImageTexture17" or name == "ImageTexture18") then
UiElementBus.Event.SetIsEnabled(element, enabled)
end
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
EnableExtraTexturesRecursive(children[i], enabled)
end
end
function EnableExtraSlicesRecursive(element, enabled)
local name = UiElementBus.Event.GetName(element)
if (name == "AdditionalPerformanceRows") then
UiElementBus.Event.SetIsEnabled(element, enabled)
end
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
EnableExtraSlicesRecursive(children[i], enabled)
end
end
function EnableAnimatePos(canvas, enabled)
if (enabled) then
UiAnimationBus.Event.StartSequence(canvas, "AnimatePos")
else
UiAnimationBus.Event.StopSequence(canvas, "AnimatePos")
end
end
function EnableAnimateScale(canvas, enabled)
if (enabled) then
UiAnimationBus.Event.StartSequence(canvas, "AnimateScale")
else
UiAnimationBus.Event.StopSequence(canvas, "AnimateScale")
end
end
function EnableAnimateRotation(canvas, enabled)
if (enabled) then
UiAnimationBus.Event.StartSequence(canvas, "AnimateRot")
else
UiAnimationBus.Event.StopSequence(canvas, "AnimateRot")
end
end
function EnableParticlesRecursive(element, enabled)
local name = UiElementBus.Event.GetName(element)
if (name == "ParticleEmitter") then
UiElementBus.Event.SetIsEnabled(element, enabled)
end
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
EnableParticlesRecursive(children[i], enabled)
end
end
function SetInnerFaderValueRecursive(element, value)
UiFaderBus.Event.SetFadeValue(element, value)
-- iterate over children of the specified element
local children = UiElementBus.Event.GetChildren(element)
for i = 1,#children do
SetInnerFaderValueRecursive(children[i], value)
end
end
function SetOuterFaderValue(element, value)
UiFaderBus.Event.SetFadeValue(element, value)
end
return DrawCalls
|
function Player:onBrowseField(position)
return true
end
function Player:onLook(thing, position, distance)
local description = "You see "
description = description .. thing:getDescription(distance)
if thing:isMonster() then
description = description .. thing:getDescription(distance)
local master = thing:getMaster()
if master and table.contains(FAMILIARSNAME, thing:getName():lower()) then
description = description..' (Master: ' .. master:getName() .. '). \z
It will disappear in ' .. getTimeinWords(master:getStorageValue(Storage.FamiliarSummon) - os.time())
end
end
if self:getGroup():getAccess() then
if thing:isItem() then
description = string.format("%s\nItem ID: %d", description, thing:getId())
local actionId = thing:getActionId()
if actionId ~= 0 then
description = string.format("%s, Action ID: %d", description, actionId)
end
local uniqueId = thing:getAttribute(ITEM_ATTRIBUTE_UNIQUEID)
if uniqueId > 0 and uniqueId < 65536 then
description = string.format("%s, Unique ID: %d", description, uniqueId)
end
local itemType = thing:getType()
if itemType then
local transformEquipId = itemType:getTransformEquipId()
local transformDeEquipId = itemType:getTransformDeEquipId()
if transformEquipId ~= 0 then
description = string.format("%s\nTransforms to: %d (onEquip)", description, transformEquipId)
elseif transformDeEquipId ~= 0 then
description = string.format("%s\nTransforms to: %d (onDeEquip)", description, transformDeEquipId)
end
local decayId = itemType:getDecayId()
if decayId ~= -1 then
description = string.format("%s\nDecays to: %d", description, decayId)
end
end
elseif thing:isCreature() then
local str = "%s\nHealth: %d / %d"
if thing:isPlayer() and thing:getMaxMana() > 0 then
str = string.format("%s, Mana: %d / %d", str, thing:getMana(), thing:getMaxMana())
end
description = string.format(str, description, thing:getHealth(), thing:getMaxHealth()) .. "."
end
local position = thing:getPosition()
description = string.format(
"%s\nPosition: %d, %d, %d",
description, position.x, position.y, position.z
)
if thing:isCreature() then
if thing:isPlayer() then
description = string.format("%s\nIP: %s.", description, Game.convertIpToString(thing:getIp()))
end
end
end
self:sendTextMessage(MESSAGE_LOOK, description)
end
function Player:onLookInBattleList(creature, distance)
local description = "You see " .. creature:getDescription(distance)
if self:getGroup():getAccess() then
local str = "%s\nHealth: %d / %d"
if creature:isPlayer() and creature:getMaxMana() > 0 then
str = string.format("%s, Mana: %d / %d", str, creature:getMana(), creature:getMaxMana())
end
description = string.format(str, description, creature:getHealth(), creature:getMaxHealth()) .. "."
local position = creature:getPosition()
description = string.format(
"%s\nPosition: %d, %d, %d",
description, position.x, position.y, position.z
)
if creature:isPlayer() then
description = string.format("%s\nIP: %s", description, Game.convertIpToString(creature:getIp()))
end
end
self:sendTextMessage(MESSAGE_LOOK, description)
end
function Player:onLookInTrade(partner, item, distance)
self:sendTextMessage(MESSAGE_LOOK, "You see " .. item:getDescription(distance))
end
function Player:onLookInShop(itemType, count)
return true
end
function Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder, toCylinder)
-- No move items with actionID = 100
if item:getActionId() == NOT_MOVEABLE_ACTION then
self:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE)
return false
end
if toPosition.x ~= CONTAINER_POSITION then
return true
end
if item:getTopParent() == self and bit.band(toPosition.y, 0x40) == 0 then
local itemType, moveItem = ItemType(item:getId())
if bit.band(itemType:getSlotPosition(), SLOTP_TWO_HAND) ~= 0 and toPosition.y == CONST_SLOT_LEFT then
moveItem = self:getSlotItem(CONST_SLOT_RIGHT)
elseif itemType:getWeaponType() == WEAPON_SHIELD and toPosition.y == CONST_SLOT_RIGHT then
moveItem = self:getSlotItem(CONST_SLOT_LEFT)
if moveItem and bit.band(ItemType(moveItem:getId()):getSlotPosition(), SLOTP_TWO_HAND) == 0 then
return true
end
end
if moveItem then
local parent = item:getParent()
if parent:isContainer() and parent:getSize() == parent:getCapacity() then
self:sendTextMessage(MESSAGE_FAILURE, Game.getReturnMessage(RETURNVALUE_CONTAINERNOTENOUGHROOM))
return false
else
return moveItem:moveTo(parent)
end
end
end
-- Execute event function from reward boss lib
self:executeRewardEvents(item, toPosition)
return true
end
function Player:onItemMoved(item, count, fromPosition, toPosition, fromCylinder, toCylinder)
end
function Player:onMoveCreature(creature, fromPosition, toPosition)
local player = creature:getPlayer()
if player and onExerciseTraining[player:getId()] and self:getGroup():hasFlag(PlayerFlag_CanPushAllCreatures) == false then
self:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE)
return false
end
return true
end
local function hasPendingReport(name, targetName, reportType)
local f = io.open(string.format("data/reports/players/%s-%s-%d.txt", name, targetName, reportType), "r")
if f then
io.close(f)
return true
else
return false
end
end
function Player:onReportRuleViolation(targetName, reportType, reportReason, comment, translation)
local name = self:getName()
if hasPendingReport(name, targetName, reportType) then
self:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your report is being processed.")
return
end
local file = io.open(string.format("data/reports/players/%s-%s-%d.txt", name, targetName, reportType), "a")
if not file then
self:sendTextMessage(MESSAGE_EVENT_ADVANCE, "There was an error when processing your report, please contact a gamemaster.")
return
end
io.output(file)
io.write("------------------------------\n")
io.write("Reported by: " .. name .. "\n")
io.write("Target: " .. targetName .. "\n")
io.write("Type: " .. reportType .. "\n")
io.write("Reason: " .. reportReason .. "\n")
io.write("Comment: " .. comment .. "\n")
if reportType ~= REPORT_TYPE_BOT then
io.write("Translation: " .. translation .. "\n")
end
io.write("------------------------------\n")
io.close(file)
self:sendTextMessage(MESSAGE_EVENT_ADVANCE, string.format("Thank you for reporting %s. Your report will be processed by %s team as soon as possible.", targetName, configManager.getString(configKeys.SERVER_NAME)))
return
end
function Player:onReportBug(message, position, category)
if self:getAccountType() == ACCOUNT_TYPE_NORMAL then
return false
end
local name = self:getName()
local file = io.open("data/reports/bugs/" .. name .. " report.txt", "a")
if not file then
self:sendTextMessage(MESSAGE_STATUS, "There was an error when processing your report, please contact a gamemaster.")
return true
end
io.output(file)
io.write("------------------------------\n")
io.write("Name: " .. name)
if category == BUG_CATEGORY_MAP then
io.write(" [Map position: " .. position.x .. ", " .. position.y .. ", " .. position.z .. "]")
end
local playerPosition = self:getPosition()
io.write(" [Player Position: " .. playerPosition.x .. ", " .. playerPosition.y .. ", " .. playerPosition.z .. "]\n")
io.write("Comment: " .. message .. "\n")
io.close(file)
self:sendTextMessage(MESSAGE_STATUS, "Your report has been sent to " .. configManager.getString(configKeys.SERVER_NAME) .. ".")
return true
end
function Player:onTurn(direction)
return true
end
function Player:onTradeRequest(target, item)
-- No trade items with actionID = 100
if item:getActionId() == NOT_MOVEABLE_ACTION then
return false
end
return true
end
function Player:onTradeAccept(target, item, targetItem)
return true
end
local soulCondition = Condition(CONDITION_SOUL, CONDITIONID_DEFAULT)
soulCondition:setTicks(4 * 60 * 1000)
soulCondition:setParameter(CONDITION_PARAM_SOULGAIN, 1)
local function useStamina(player)
if not player then
return false
end
local staminaMinutes = player:getStamina()
if staminaMinutes == 0 then
return
end
local playerId = player:getId()
if not playerId then
return false
end
local currentTime = os.time()
local timePassed = currentTime - nextUseStaminaTime[playerId]
if timePassed <= 0 then
return
end
if timePassed > 60 then
if staminaMinutes > 2 then
staminaMinutes = staminaMinutes - 2
else
staminaMinutes = 0
end
nextUseStaminaTime[playerId] = currentTime + 120
player:removePreyStamina(120)
else
staminaMinutes = staminaMinutes - 1
nextUseStaminaTime[playerId] = currentTime + 60
player:removePreyStamina(60)
end
player:setStamina(staminaMinutes)
end
function Player:onGainExperience(source, exp, rawExp)
if not source or source:isPlayer() then
return exp
end
-- Soul regeneration
local vocation = self:getVocation()
if self:getSoul() < vocation:getMaxSoul() and exp >= self:getLevel() then
soulCondition:setParameter(CONDITION_PARAM_SOULTICKS, vocation:getSoulGainTicks())
self:addCondition(soulCondition)
end
-- Experience Stage Multiplier
local expStage = getRateFromTable(experienceStages, self:getLevel(), configManager.getNumber(configKeys.RATE_EXP))
exp = exp * expStage
baseExp = rawExp * expStage
-- Stamina modifier
if configManager.getBoolean(configKeys.STAMINA_SYSTEM) then
useStamina(self)
local staminaMinutes = self:getStamina()
if staminaMinutes > 2400 and self:isPremium() then
exp = exp * 1.5
elseif staminaMinutes <= 840 then
exp = exp * 0.5
end
end
-- Prey system
if configManager.getBoolean(configKeys.PREY_ENABLED) then
local monsterType = source:getType()
if monsterType and monsterType:raceId() > 0 then
exp = math.ceil((exp * self:getPreyExperiencePercentage(monsterType:raceId())) / 100)
end
end
return exp
end
function Player:onLoseExperience(exp)
return exp
end
function Player:onGainSkillTries(skill, tries)
if APPLY_SKILL_MULTIPLIER == false then
return tries
end
if skill == SKILL_MAGLEVEL then
return tries * configManager.getNumber(configKeys.RATE_MAGIC)
end
return tries * configManager.getNumber(configKeys.RATE_SKILL)
end
function Player:onChangeZone(zone)
if self:isPremium() then
local event = staminaBonus.eventsPz[self:getId()]
if configManager.getBoolean(configKeys.STAMINA_PZ) then
if zone == ZONE_PROTECTION then
if self:getStamina() < 2520 then
if not event then
local delay = configManager.getNumber(configKeys.STAMINA_ORANGE_DELAY)
if self:getStamina() > 2400 and self:getStamina() <= 2520 then
delay = configManager.getNumber(configKeys.STAMINA_GREEN_DELAY)
end
self:sendTextMessage(MESSAGE_STATUS,
string.format("In protection zone. \
Every %i minutes, gain %i stamina.",
delay, configManager.getNumber(configKeys.STAMINA_PZ_GAIN)
)
)
staminaBonus.eventsPz[self:getId()] = addEvent(addStamina, delay * 60 * 1000, nil, self:getId(), delay * 60 * 1000)
end
end
else
if event then
self:sendTextMessage(MESSAGE_STATUS, "You are no longer refilling stamina, \z
since you left a regeneration zone.")
stopEvent(event)
staminaBonus.eventsPz[self:getId()] = nil
end
end
return not configManager.getBoolean(configKeys.STAMINA_PZ)
end
end
return false
end
|
-- User story: https://github.com/SmartDeviceLink/sdl_core/issues/1898
--
-- Precondition:
-- 1) SDL and HMI are started.
-- 2) Media app is registered.
-- 3) Media app in FULL.
-- Description:
-- Media HMI Level resumption is not canceled after unexpected disconnect during active embedded audio source.
-- Steps to reproduce:
-- 1) Media app is disconnected unexpectedly
-- 2) Embeded audio is active (OnEventChanged(AUDIO_SOURCE, isActive=true))
-- 3) Media app is re-registered and SDL does not receive OnEventChanged(AUDIO_SOURCE, isActive=true during ApplicationResumingTimeout.
-- Expected result:
-- SDL must cancel HMILevel resumption for this media app (meaning: media app must be in NONE)
-- Actual result:
-- SDL does not cancel HMILevel resumption.
---------------------------------------------------------------------------------------------------
--[[ Required Shared libraries ]]
local runner = require('user_modules/script_runner')
local common = require('user_modules/sequences/actions')
local commonDefects = require('test_scripts/Defects/commonDefects')
runner.testSettings.isSelfIncluded = false
--[[ Configuration Modifications ]]
config.application1.registerAppInterfaceParams.appHMIType = { "DEFAULT" }
config.application1.registerAppInterfaceParams.isMediaApplication = true
--[[ Local Functions ]]
local function activateAudioSource(self)
common.getHMIConnection():SendNotification("BasicCommunication.OnEventChanged", {eventName = "AUDIO_SOURCE", isActive = true})
end
local function unexpectedDisconnect()
common.getHMIConnection():ExpectNotification("BasicCommunication.OnAppUnregistered",
{ appID = common.getHMIAppId(), unexpectedDisconnect = true })
common.mobile.disconnect()
common.run.wait(1000)
:Do(function()
common.mobile.connect()
end)
end
local function reRegisterApp()
local mobSession = common.getMobileSession(1)
mobSession:StartService(7)
:Do(function()
local params = common.getConfigAppParams(1)
params.hashID = commonDefects.hashId
local corId = mobSession:SendRPC("RegisterAppInterface", common.getConfigAppParams(1))
mobSession:ExpectResponse(corId, { success = true, resultCode = "SUCCESS" })
:Do(function()
common.getMobileSession():ExpectNotification("OnHMIStatus",
{ hmiLevel = "NONE", audioStreamingState = "NOT_AUDIBLE", systemContext = "MAIN" })
:Do(function()
common.getHMIConnection():ExpectNotification("BasicCommunication.ActivateApp")
:Times(0)
commonDefects.delayedExp(5000)
end)
end)
end)
end
--[[ Scenario ]]
runner.Title("Preconditions")
runner.Step("Clean environment", common.preconditions)
runner.Step("Start SDL, HMI, connect Mobile, start Session", common.start)
runner.Step("Register App1", common.registerAppWOPTU)
runner.Step("Activate App1", common.activateApp)
runner.Title("Test")
runner.Step("unexpected disconnect app1", unexpectedDisconnect)
runner.Step("Activate audio source", activateAudioSource)
runner.Step("Re register App1", reRegisterApp)
runner.Title("Postconditions")
runner.Step("Stop SDL", common.postconditions)
|
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
vim.fn.sign_define("DiagnosticSignError",
{text = " ", texthl = "DiagnosticSignError"})
vim.fn.sign_define("DiagnosticSignWarn",
{text = " ", texthl = "DiagnosticSignWarn"})
vim.fn.sign_define("DiagnosticSignInfo",
{text = " ", texthl = "DiagnosticSignInfo"})
vim.fn.sign_define("DiagnosticSignHint",
{text = "", texthl = "DiagnosticSignHint"})
require("neo-tree").setup({
close_if_last_window = true,
popup_border_style = "rounded",
enable_git_status = true,
enable_diagnostics = true,
git_status = {
symbols = {
-- Change type
added = "✚",
deleted = "✖",
modified = "",
renamed = "",
-- Status type
untracked = "",
ignored = "",
unstaged = "",
staged = "",
conflict = ""
},
filesystem = {
commands = {
-- Override delete to use trash instead of rm
delete = function(state)
local path = state.tree:get_node().path
vim.fn.system({"trash", vim.fn.fnameescape(path)})
require("neo-tree.sources.manager").refresh(state.name)
end
}
},
window = {
position = "float",
mappings = {
["A"] = "git_add_all",
["gu"] = "git_unstage_file",
["ga"] = "git_add_file",
["gr"] = "git_revert_file",
["gc"] = "git_commit",
["gp"] = "git_push",
["gg"] = "git_commit_and_push"
}
}
},
hijack_netrw_behavior = "open_current",
filesystem = {
filtered_items = {
visible = false, -- when true, they will just be displayed differently than normal items
hide_dotfiles = false,
hide_gitignored = false,
hide_by_name = {
".DS_Store", "thumbs.db"
-- "node_modules"
},
never_show = { -- remains hidden even if visible is toggled to true
-- ".DS_Store",
-- "thumbs.db"
}
}
}
})
|
help([[
]])
local pkgName = myModuleName()
local pkgVersion = myModuleVersion()
local pkgNameVer = myModuleFullName()
local hierA = hierarchyA(pkgNameVer,1)
local compNameVer = hierA[1]
local compNameVerD = compNameVer:gsub("/","-")
--io.stderr:write("compNameVer: ",compNameVer,"\n")
--io.stderr:write("compNameVerD: ",compNameVerD,"\n")
conflict(pkgName)
conflict("jedi-openmpi","jedi-mpich","jedi-impi")
local mpi = pathJoin("mpt",pkgVersion)
load(mpi)
prereq(mpi)
local opt = os.getenv("OPT") or "/opt/modules"
local mpath = pathJoin(opt,"modulefiles/mpi",compNameVer,"mpt",pkgVersion)
prepend_path("MODULEPATH", mpath)
setenv("MPI_FC", "mpif90")
setenv("MPI_CC", "mpicc")
setenv("MPI_CXX", "mpicxx")
whatis("Name: ".. pkgName)
whatis("Version: " .. pkgVersion)
whatis("Category: library")
whatis("Description: SGI MPT library and module access")
|
client_script 'client/client.lua' --your NUI Lua File
client_script '@es_extended/locale.lua'
server_script '@es_extended/locale.lua'
server_script '@mysql-async/lib/MySQL.lua'
server_script 'server.lua'
ui_page 'client/html/UI.html' --THIS IS IMPORTENT
--[[The following is for the files which are need for you UI (like, pictures, the HTML file, css and so on) ]]--
files {
'client/html/UI.html',
'client/html/style.css',
'client/html/img/user.png',
'client/html/img/phone2.png',
'client/html/img/clock.png',
'client/html/img/receipt.png',
'client/html/img/knife.png'
}
|
local gvt = require 'luagravity'
local env = require 'luagravity.env.simple'
local _start, _stop = 0, 0
local f_start = function(v)
v = v or 0
_start = _start + 1
return v + 1
end
start = gvt.create(f_start, {name='start',zero=true})
local f_stop = function(v)
v = v or 0
_stop = _stop + 1
return v + 1
end
stop = gvt.create(f_stop, {name='stop',zero=true})
gvt.loop(env.nextEvent,
function ()
-- Reacoes
gvt.call(start)
gvt.call(stop)
gvt.call(start)
gvt.call(stop)
assert((_start==2) and (_stop==2))
local rm = gvt.link(start, stop)
gvt.call(start)
assert((_start==3) and (_stop==3), _stop)
-- Quebra de elo "explicita"
gvt.unlink(start, stop)
gvt.call(start)
assert((_start==4) and (_stop==3))
gvt.link(start, stop)
gvt.link(stop, function (v)
assert(v == 3, v)
end)
gvt.call(start, 1)
assert((_start==5) and (_stop==4))
-- STRINGS
gvt.link('start', f_start)
gvt.link('stop', f_stop)
gvt.post('start', 1)
gvt.post('stop', 1)
gvt.post('start', 1)
gvt.post('stop', 1)
assert((_start==7) and (_stop==6))
end)
print '===> OK'
|
local ls = require("luasnip")
local uv = vim.loop
local function json_decode(data)
local status, result = pcall(vim.fn.json_decode, data)
if status then
return result
else
return nil, result
end
end
local sep = (function()
if jit then
local os = string.lower(jit.os)
if os == "linux" or os == "osx" or os == "bsd" then
return "/"
else
return "\\"
end
else
return package.config:sub(1, 1)
end
end)()
local function path_join(a, b)
return table.concat({ a, b }, sep)
end
local function path_exists(path)
return uv.fs_stat(path) and true or false
end
local function async_read_file(path, jump_if_error, callback)
uv.fs_open(path, "r", 438, function(err, fd)
if not jump_if_error then
assert(not err, err)
else
if err then
return
end
end
uv.fs_fstat(fd, function(err, stat)
assert(not err, err)
uv.fs_read(fd, stat.size, 0, function(err, data)
assert(not err, err)
uv.fs_close(fd, function(err)
assert(not err, err)
return callback(data)
end)
end)
end)
end)
end
local function load_snippet_file(langs, snippet_set_path)
if not path_exists(snippet_set_path) then
return
end
async_read_file(
snippet_set_path,
true,
vim.schedule_wrap(function(data)
local snippet_set_data = json_decode(data)
for _, lang in pairs(langs) do
local lang_snips = ls.snippets[lang] or {}
for name, parts in pairs(snippet_set_data) do
local body = type(parts.body) == "string" and parts.body
or table.concat(parts.body, "\n")
-- There are still some snippets that fail while loading
pcall(function()
-- Sometimes it's a list of prefixes instead of a single one
local prefixes = type(parts.prefix) == "table"
and parts.prefix
or { parts.prefix }
for _, prefix in ipairs(prefixes) do
table.insert(
lang_snips,
ls.parser.parse_snippet({
trig = prefix,
name = name,
dscr = parts.description or name,
wordTrig = true,
}, body)
)
end
end)
end
ls.snippets[lang] = lang_snips
end
end)
)
end
local function load_snippet_folder(root, opts)
local package = path_join(root, "package.json")
async_read_file(
package,
true,
vim.schedule_wrap(function(data)
local package_data = json_decode(data)
if
not (
package_data
and package_data.contributes
and package_data.contributes.snippets
)
then
return
end
for _, snippet_entry in pairs(package_data.contributes.snippets) do
local langs = snippet_entry.language
if type(snippet_entry.language) ~= "table" then
langs = { langs }
end
langs = filter_list(langs, opts.exclude, opts.include)
if #langs then
load_snippet_file(
langs,
path_join(root, snippet_entry.path)
)
end
end
end)
)
end
function filter_list(list, exclude, include)
local out = {}
for _, entry in ipairs(list) do
if exclude[entry] then
goto continue
end
-- If include is nil then it's true
if include == nil or include[entry] then
table.insert(out, entry)
end
::continue::
end
return out
end
function list_to_set(list)
if not list then
return list
end
local out = {}
for _, item in ipairs(list) do
out[item] = true
end
return out
end
local function get_snippets_rtp()
return vim.tbl_map(function(itm)
return vim.fn.fnamemodify(itm, ":h")
end, vim.api.nvim_get_runtime_file(
"package.json",
true
))
end
-- remove /init.lua or /init.vim most of the time ~/.config/nvim/
local MYCONFIG_ROOT = vim.env.MYVIMRC:gsub("/[^/]+$", "")
function expand_path(path)
local expanded = path:gsub("^~", vim.env.HOME):gsub("^[.]", MYCONFIG_ROOT)
return uv.fs_realpath(expanded)
end
local M = {}
function M.load(opts)
opts = opts or {}
-- nil (unset) to include all languages (default), a list for the ones you wanna include
opts.include = list_to_set(opts.include)
-- A list for the ones you wanna exclude (empty by default)
opts.exclude = list_to_set(opts.exclude) or {}
-- list of paths to crawl for loading (could be a table or a comma-separated-list)
if type(opts.paths) ~= "table" and opts.paths ~= nil then
opts.paths = vim.split(opts.paths, ",")
opts.paths = vim.tbl_map(expand_path, opts.paths) -- Expand before deduping, fake paths will become nil
else
opts.paths = get_snippets_rtp()
end
opts.paths = vim.tbl_keys(list_to_set(opts.paths)) -- Remove doppelgänger paths and ditch nil ones
for _, path in ipairs(opts.paths) do
load_snippet_folder(path, opts)
end
end
local lazy_load_paths = {}
local lazy_loaded_ft = {}
function M._luasnip_vscode_lazy_load()
for _, ft in ipairs({ vim.bo.filetype, "all" }) do
if not lazy_loaded_ft[ft] then
lazy_loaded_ft[ft] = true
M.load({ paths = lazy_load_paths, include = { ft } })
end
end
end
function M.lazy_load(opts)
opts = opts or {}
-- We have to do this here too, because we have to store them in lozy_load_paths
if type(opts.paths) ~= "table" and opts.paths ~= nil then
opts.paths = vim.split(opts.paths, ",")
else
opts.paths = get_snippets_rtp()
end
vim.list_extend(lazy_load_paths, opts.paths)
lazy_load_paths = vim.tbl_keys(list_to_set(lazy_load_paths)) -- Remove doppelgänger paths and ditch nil ones
vim.cmd([[
augroup _luasnip_vscode_lazy_load
autocmd!
au BufEnter * lua require('luasnip/loaders/from_vscode')._luasnip_vscode_lazy_load()
augroup END
]])
end
return M
|
---@class RDSBedroomZed : zombie.randomizedWorld.randomizedDeadSurvivor.RDSBedroomZed
---@field private pantsMaleItems ArrayList|Unknown
---@field private pantsFemaleItems ArrayList|Unknown
---@field private topItems ArrayList|Unknown
---@field private shoesItems ArrayList|Unknown
RDSBedroomZed = {}
---@private
---@param arg0 RoomDef
---@param arg1 boolean
---@return void
function RDSBedroomZed:addItemsOnGround(arg0, arg1) end
---@public
---@param arg0 BuildingDef
---@return void
function RDSBedroomZed:randomizeDeadSurvivor(arg0) end
|
-- WRK: https://github.com/wg/wrk
-- ./wrk -s benchmark.lua -d 10s -t 2 http://localhost:8084/
math.randomseed(os.time())
wrk.method = "POST"
request = function()
wrk.body = string.format("https://kfd.me/%s", tostring(math.random(1,999999)))
return wrk.format(nil, "/")
end
|
local Mod = GameMain:GetMod("CanVox.NewCharRandomizer")
Mod.CharData.GenFixture = Mod.CharData.GenFixture or {}
GenFixture = Mod.CharData.GenFixture
function GenFixture:SetNpc(npc)
self.Npc = npc
self.NpcFiveBase = {}
self.NpcSkillLevels = {}
self.NpcSkillLove = {}
self.NpcSkillAddion = {}
self.NpcSkillAddionOver = {}
self.NpcSkillBans = {}
self.NpcFeatures = {}
self.NpcBackgrounds = {}
for i=1,5 do
self.NpcFiveBase[i] = npc.PropertyMgr.BaseData:GetValue(CS.XiaWorld.g_emNpcBasePropertyType.__CastFrom(i-1))
end
for i=1,16 do
local skill = npc.PropertyMgr.SkillData:GetSkill(CS.XiaWorld.g_emNpcSkillType.__CastFrom(i))
self.NpcSkillLevels[i] = skill.BaseLevel
self.NpcSkillLove[i] = skill.Love
self.NpcSkillAddion[i] = skill.Addv
self.NpcSkillAddionOver[i] = skill.Addv2
self.NpcSkillBans[i] = skill.Ban
end
for i=1,npc.FeatureList.Count do
local featureKey = npc.FeatureList[i-1].Name
self.NpcFeatures[featureKey] = true
end
for i=1,3 do
local story = npc.PropertyMgr.BackStory[i-1]
if story then
self.NpcBackgrounds[i] = story.ID
end
end
end
function GenFixture:WipeBackgrounds()
self.RandomFiveBase = {0, 0, 0, 0, 0}
self.BackgroundFiveBase = {0, 0, 0, 0, 0}
self.Backgrounds = {}
self.AdditionalFeatures = {}
self.Thoughts = {}
self.BackgroundSkillLevels = {}
self.BackgroundSkillLove = {}
self.BackgroundSkillAddion = {}
self.BackgroundSkillAddionOver = {}
self.BackgroundSkillBans = {}
for i=1,16 do
self.BackgroundSkillLevels[i] = 0
self.BackgroundSkillLove[i] = 0
self.BackgroundSkillAddion[i] = 0
self.BackgroundSkillAddionOver[i] = 0
self.BackgroundSkillBans[i] = false
end
self:WipeSkills()
end
function GenFixture:WipeSkills()
self.RandomSkillBase = {}
self.RandomSkillLove = {}
-- Wipe Skills
for i=1,16 do
self.RandomSkillBase[i] = 0
self.RandomSkillLove[i] = 0
end
end
function GenFixture:GetStat(index)
return self.NpcFiveBase[index] + self.BackgroundFiveBase[index] + self.RandomFiveBase[index]
end
function GenFixture:Perception()
return self:GetStat(1)
end
function GenFixture:Constitution()
return self:GetStat(2)
end
function GenFixture:Charisma()
return self:GetStat(3)
end
function GenFixture:Intelligence()
return self:GetStat(4)
end
function GenFixture:Luck()
return self:GetStat(5)
end
function GenFixture:TotalStats()
local total = 0
for i=1,5 do
total = total + self:GetStat(i)
end
return total
end
|
pcre2 = require("pcre2adapter")
local nativeHandle = pcre2.regcomp("(a)(s)(d)", 0);
local result3 = pcre2.regexec(nativeHandle, "asd");
for k,v in pairs(result3) do
print (k,v);
end
|
include("terms")
hund = math.random(9) ;
ten = math.random(9);
unit = math.random(10) - 1;
numb_r = hund* 100 + ten * 10 + unit
sign = math.random(2)
diff = 2 + math.random(7)
if (sign == 1 ) then
znak = "<"
numb_l = numb_r - diff
else
znak = ">"
numb_l = numb_r + diff
end
cifre = {}
cifre[1] = math.floor(numb_l/100)
temp = numb_l - 100 * cifre[1]
cifre[2] = math.floor(temp/10)
cifre[3] = temp - 10 * cifre[2]
dec = math.random(3)
number = numb_r / 10^dec
answ = ""
if(dec == 1) then
answ = tostring(cifre[1]) .. lib.check_number(cifre[2], 15) .. "," .. tostring(cifre[3])
end
if(dec == 2) then
answ = tostring(cifre[1]) .. point .. lib.check_number(cifre[2], 15) .. tostring(cifre[3])
end
if(dec == 3) then
answ = "0" .. point .. tostring(cifre[1]) .. lib.check_number(cifre[2], 15) .. tostring(cifre[3])
end
|
-- watch wifi and make volume 0 when getting off home network
wifiWatcher = nil
homeSSID = "home_network_name"
lastSSID = hs.wifi.currentNetwork()
function ssidChangedCallback()
newSSID = hs.wifi.currentNetwork()
if newSSID == homeSSID and lastSSID ~= homeSSID then
-- We just joined our home WiFi network
hs.audiodevice.defaultOutputDevice():setVolume(25)
hs.notify.new({title="Wifi", informativeText="Connected to Home network"}):send()
elseif newSSID ~= homeSSID and lastSSID == homeSSID then
-- We just departed our home WiFi network
hs.audiodevice.defaultOutputDevice():setVolume(0)
hs.notify.new({title="Wifi", informativeText="Disconnected from Home network"}):send()
end
lastSSID = newSSID
end
wifiWatcher = hs.wifi.watcher.new(ssidChangedCallback)
wifiWatcher:start()
|
--[[
Functions explained in a nutshell:
ATTACK FUNCTIONS
kbAlertTOGGLE(true) --Make sure this code is added to the first time you use the alert function to add it to the game scene, otherwise nothing will appear.
kbAttackTOGGLE(true) --Make sure this code is added to the first time you use the attack function to add it to the game scene, otherwise nothing will appear.
Basically in order to see it, you have to first add it to the scene.
If the condition is true, then the thing is added. If false, it is removed.
kbAttack(prepare,sound)
'prepare' if false, plays the prepare animation. If true, the sawblade attacks and checks to see if BF is dodging. If he isn't, he dies.
'sound' an optional string which allows you to play a custom sound for the sawblade attack. This sound only plays when attacking, however. Make sure this sound is in the the QT week sounds folder!
kbAttackAlert(true/false)
kbAttackAlertDouble(true/false)
These functions are responsible for playing the alert animation + playing the sound.
The 'true/false' is just there because for some reason without it, it just causes the game to crash? It doesn't change anything if true or false.
Because dodging is timing based and not actually synced to BPM, you may find yourself not being fast enough to keep up with sawblades. These functions allow you to directly manipulate the timing windows for sawblades.
dodgeTimingOverride(newValue)
dodgeCooldownOverride(newValue)
Default values:
timing = 0.22625
cooldown = 0.1135
Recommended values for double sawblades in Termination:
timing = 0.15
cooldown = 0.1
PINCER FUNCTIONS
PincerIDs (Note that pincers only work on BF's side with the exception of pincer5 which is a special case used in the screenshaking section in Termination):
1 = left arrow ['pincer1']
2 = down arrow ['pincer2']
3 = up arrow ['pincer3']
4 = right arrow ['pincer4']
5 = opponent left arrow (untested and unstable, may or may not cause a crash or unexpected behaviour)
kbPincerPrepare(pincerID,goAway)
'pincerID' refers to which lane you want the summon the pincer on.
'goAway' determines whether or not the pincer is being prepared/added, or leaving/being removed. False=Enter, True=Leave.
kbPincerGrab(pincerID)
Function which changes a pincer's graphic to be closed.
The pincer automatically lets go when leaving (kbPincerPrepare(pincerID,True))
If you want to reference a pincer, you can actually do this using the predefined labels assigned to each pincerID (see pincerID's above)
So, if you want to move notes around just like in Termination, you would want to tween the note to a certain position, then copy and paste the same code but instead referencing the pincer instead of the note.
Example from Termination in beatHit:
if curBeat == 320 then
kbPincerPrepare(3,false) --Prepares pincer3 (up arrow pincer).
elseif curBeat == 322 then
kbPincerGrab(3) --Updates appearance to make it look like it is grabbing.
if downscroll==0 then --When moving notes around, it is important to make sure it works for both upscroll and downscroll!
tweenPos('pincer3', x6, y6+60, 0.25, done) --tweenPos basically means "move this thing to here in this time". So we move the pincer down in 0.25 seconds.
tweenPos(6, x6, y6+60, 0.25, done) --tweenPos basically means "move this thing to here in this time". So here, we move the note down in 0.25 seconds.
else
tweenPos('pincer3', x6, y6-60, 0.25, done) --Same as above, but instead moving it up because the player is using downscroll!
tweenPos(6, x6, y6-60, 0.25, done)
end
elseif curBeat == 324 then
kbPincerPrepare(3,true) --pincer3 is then animated to move offscreen and is removed from the game scene until it is brought back again.
You can look at the modchart code for Termination for a better look at how to use the pincers.
The example below should be good enough to show how you these functions are used, along side with how the double sawblade is done.
--]]
-- Variable definition:
local x4,x5,x6,x7,y4,y5,y6,y7
--These variables are for saving the x and y position of the arrows so you can easily return them back to their original positions whenever.
function start(song)
-- Initialization
dodgeTimingOverride(0.3)
dodgeCooldownOverride(0.175)
x4 = getActorX(4)
x5 = getActorX(5)
x6 = getActorX(6)
x7 = getActorX(7)
y7 = getActorY(7)
y6 = getActorY(6)
y5 = getActorY(5)
y4 = getActorY(4)
end
function update(elapsed)
--Funny modchart moment
if difficulty == 2 and curStep > 400 then
local currentBeat = (songPos / 1000)*(bpm/60)
for i=0,7 do
setActorX(_G['defaultStrum'..i..'X'] + 32 * math.sin((currentBeat + i*0.25) * math.pi), i)
setActorY(_G['defaultStrum'..i..'Y'] + 32 * math.cos((currentBeat + i*0.25) * math.pi), i)
end
end
end
function beatHit(beat) -- do nothing
end
function stepHit(step) -- do nothing
--Example code for sawblades and pincers
if curStep == 64 then
kbAttackTOGGLE(true)
kbAlertTOGGLE(true)
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 68 then
kbAttackAlert(false)
elseif curStep == 72 then
kbAttack(true) --Dodge check!
elseif curStep == 80 then
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 84 then
kbAttackAlert(false)
elseif curStep == 88 then
kbAttack(true) --Dodge check!
--Example double sawblade!
elseif curStep == 128 then
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 132 then
kbAttackAlertDouble(false)
elseif curStep == 136 then
kbAttack(true, "old/attack_alt01") --Dodge check!
elseif curStep == 139 then
kbAttack(false) --Prepares the sawblade again
elseif curStep == 140 then
kbAttack(true, "old/attack_alt02") --Dodge check!
elseif curStep == 144 then
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 148 then
kbAttackAlertDouble(false)
elseif curStep == 152 then
kbAttack(true, "old/attack_alt01") --Dodge check!
elseif curStep == 155 then
kbAttack(false) --Prepares the sawblade again
elseif curStep == 156 then
kbAttack(true, "old/attack_alt02") --Dodge check!
elseif curStep == 192 then
kbPincerPrepare(2,false) --plays the enter animation for the pincer and adds it to the game scene
elseif curStep == 196 then
kbPincerGrab(2) --Changes the pincer graphic to look like it's grabing the note
if downscroll==0 then --Moves the note down if playing with upscroll
tweenPos('pincer2', x5, y5+20, 0.25, done)
tweenPos(5, x5, y5+20, 0.25, done)
else --Moves the note up if playing with downscroll
tweenPos('pincer2', x5, y5-20, 0.25, done)
tweenPos(5, x5, y5-20, 0.25, done)
--If moving notes up and down, don't move them too far because the timing window is still at the bottom / remains unaffected. This only creates misleading visuals which can frustrate players.
end
elseif curStep == 204 then
kbPincerPrepare(2,true) --Plays the leaving animation for the pincer and removes it from the scene once the animation is finished
elseif curStep == 256 then
tweenPos(5, x5, y5, 0.275, done) --Resets the moved note back to normal position
elseif curStep == 288 then
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 292 then
kbAttackAlert(false)
elseif curStep == 296 then
kbAttack(true) --Dodge check!
elseif curStep == 304 then
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 308 then
kbAttackAlertDouble(false)
elseif curStep == 312 then
kbAttack(true, "old/attack_alt01") --Dodge check!
elseif curStep == 315 then
kbAttack(false) --Prepares the sawblade again
elseif curStep == 316 then
kbAttack(true, "old/attack_alt02") --Dodge check!
elseif curStep == 320 then
kbPincerPrepare(4,false)
elseif curStep == 324 then
kbPincerGrab(4)
elseif curStep == 332 then
tweenPos('pincer4', x7+52, y7, 0.3, done)
tweenPos(7, x7+40, y7, 0.3, done)
elseif curStep == 336 then
kbPincerPrepare(4,true)
elseif curStep == 376 then
kbAttackAlert(false) --First alert
kbAttack(false) --Prepares the sawblade
elseif curStep == 380 then
kbAttackAlert(false)
elseif curStep == 384 then
kbAttack(true) --Dodge check!
elseif curStep == 400 then
tweenPos(7, x7, y7, 1, done)
end
end
--Just commenting out the custom camera stuff so the sawblade is easier to see.
function playerTwoTurn()
--tweenCameraZoom(1.3,(crochet * 4) / 1000)
end
function playerOneTurn()
--tweenCameraZoom(1,(crochet * 4) / 1000)
end |
----------------------------------------------------------------------
-- JSON base
JSON = { null = {}, codec = {} }
function JSON.register(_class, _name, _object_to_table, _table_to_object)
local codec = { class = _class, name = _name, serialize = _object_to_table, unserialize = _table_to_object }
JSON.codec[_class] = codec
JSON.codec[_name] = codec
end
function JSON.object_to_table(_name_or_class, _object, ...)
local codec = JSON.codec[_name_or_class]
assert(codec ~= nil)
return { __class__ = codec.name, __value__ = codec.serialize(_object, ...) }
end
function JSON.table_to_object(_name_or_class, _table, ...)
local codec = JSON.codec[_name_or_class]
assert(codec ~= nil)
assert(_table.__class__ == codec.name)
assert(type(_table.__value__) == "table")
return codec.unserialize(_table.__value__, ...)
end
function JSON.parse_map(_func, _map, ...)
local new_map = {}
for key, value in pairs(_map) do
new_map[key] = _func(value, ...)
end
return new_map
end
function JSON.parse_class_map(_func, _name_or_class, _map, ...)
return JSON.parse_map(function(_value, ...) return _func(_name_or_class, _value, ...) end, _map, ...)
end
function JSON.table_to_json(_table)
local table_len = #_table
local table_type = "array"
for key, value in pairs(_table) do
if type(key) ~= "number" or math.floor(key) ~= key or key > table_len then
table_type = "object"
break
end
end
local function value_to_json(_value)
if _value == JSON.null then
return "null"
else
local value_type = type(_value)
if value_type == "table" then
return JSON.table_to_json(_value)
elseif value_type == "number" or value_type == "boolean" then
return tostring(_value)
else
return string.format("%q", tostring(_value))
end
end
end
local json
if table_type == "array" then
json = "["
local first = true
for _, value in ipairs(_table) do
if first then
first = false
else
json = json .. ", "
end
json = json .. value_to_json(value)
end
json = json .. "]"
else
json = "{"
local first = true
for key, value in pairs(_table) do
if first then
first = false
else
json = json .. ", "
end
json = json .. string.format("%q: ", key) .. value_to_json(value)
end
json = json .. "}"
end
-- print(json)
return json
end
-- local lua_table = {["__class__"] = "GameInfo", ["__value__"] = {["teams"] = {["Blue"] = {["__class__"] = "TeamInfo", ["__value__"] = {["flagScoreLocation"] = {82.0, 20.0}, ["name"] = "Blue", ["flagSpawnLocation"] = {82.0, 20.0}, ["flag"] = "BlueFlag", ["members"] = {"Blue0", "Blue1", "Blue2", "Blue3", "Blue4"}, ["botSpawnArea"] = {{79.0, 2.0}, {85.0, 9.0}}}}, ["Red"] = {["__class__"] = "TeamInfo", ["__value__"] = {["flagScoreLocation"] = {6.0, 30.0}, ["name"] = "Red", ["flagSpawnLocation"] = {6.0, 30.0}, ["flag"] = "RedFlag", ["members"] = {"Red0", "Red1", "Red2", "Red3", "Red4"}, ["botSpawnArea"] = {{3.0, 41.0}, {9.0, 48.0}}}}}, ["flags"] = {["BlueFlag"] = {["__class__"] = "FlagInfo", ["__value__"] = {["position"] = {82.0, 20.0}, ["carrier"] = null, ["name"] = "BlueFlag", ["respawnTimer"] = -7.450580596923828e-09, ["team"] = "Blue"}}, ["RedFlag"] = {["__class__"] = "FlagInfo", ["__value__"] = {["position"] = {9.723822593688965, 28.638526916503906}, ["carrier"] = "Blue1", ["name"] = "RedFlag", ["respawnTimer"] = -7.450580596923828e-09, ["team"] = "Red"}}}, ["enemyTeam"] = "Red", ["team"] = "Blue", ["bots"] = {["Red3"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = null, ["name"] = "Red3", ["facingDirection"] = {0.9375345706939697, -0.3478919267654419}, ["state"] = 6, ["health"] = 0, ["seenlast"] = 13.370665550231934, ["team"] = "Red", ["currentAction"] = "ShootAtCommand", ["position"] = {35.6309928894043, 26.81215476989746}, ["visibleEnemies"] = {}}}, ["Red2"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {"Blue0"}, ["flag"] = null, ["name"] = "Red2", ["facingDirection"] = {0.9123391509056091, -0.4094350337982178}, ["state"] = 6, ["health"] = 0, ["seenlast"] = 0.0, ["team"] = "Red", ["currentAction"] = "ShootAtCommand", ["position"] = {68.28890991210938, 25.360763549804688}, ["visibleEnemies"] = {}}}, ["Red1"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {"Blue0"}, ["flag"] = null, ["name"] = "Red1", ["facingDirection"] = {-0.9972056150436401, 0.07470673322677612}, ["state"] = 4, ["health"] = 0, ["seenlast"] = 0.0, ["team"] = "Red", ["currentAction"] = "AttackCommand", ["position"] = {68.53483581542969, 25.27260398864746}, ["visibleEnemies"] = {}}}, ["Red0"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = null, ["name"] = "Red0", ["facingDirection"] = {0.9994280338287354, -0.033820152282714844}, ["state"] = 6, ["health"] = 0, ["seenlast"] = 13.370665550231934, ["team"] = "Red", ["currentAction"] = "ShootAtCommand", ["position"] = {34.46906280517578, 24.155515670776367}, ["visibleEnemies"] = {}}}, ["Red4"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {"Blue0"}, ["flag"] = null, ["name"] = "Red4", ["facingDirection"] = {0.912505030632019, -0.4090656042098999}, ["state"] = 6, ["health"] = 0, ["seenlast"] = 0.0, ["team"] = "Red", ["currentAction"] = "ShootAtCommand", ["position"] = {68.30572509765625, 25.36515998840332}, ["visibleEnemies"] = {}}}, ["Blue1"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = "RedFlag", ["name"] = "Blue1", ["facingDirection"] = {0.9242773652076721, -0.3817223310470581}, ["state"] = 3, ["health"] = 100.0, ["seenlast"] = null, ["team"] = "Blue", ["currentAction"] = "MoveCommand", ["position"] = {9.723822593688965, 28.638526916503906}, ["visibleEnemies"] = {}}}, ["Blue0"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = null, ["name"] = "Blue0", ["facingDirection"] = {-0.9890086054801941, 0.14785832166671753}, ["state"] = 1, ["health"] = 100.0, ["seenlast"] = null, ["team"] = "Blue", ["currentAction"] = null, ["position"] = {81.625, 19.375}, ["visibleEnemies"] = {"Red2", "Red1", "Red4"}}}, ["Blue3"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = null, ["name"] = "Blue3", ["facingDirection"] = {-0.9994280338287354, 0.03381979465484619}, ["state"] = 1, ["health"] = 0, ["seenlast"] = null, ["team"] = "Blue", ["currentAction"] = null, ["position"] = {48.790069580078125, 23.665205001831055}, ["visibleEnemies"] = {}}}, ["Blue2"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = null, ["name"] = "Blue2", ["facingDirection"] = {-0.9112738966941833, 0.411800742149353}, ["state"] = 6, ["health"] = 0, ["seenlast"] = null, ["team"] = "Blue", ["currentAction"] = "ShootAtCommand", ["position"] = {57.94633102416992, 32.63374710083008}, ["visibleEnemies"] = {}}}, ["Blue4"] = {["__class__"] = "BotInfo", ["__value__"] = {["seenBy"] = {}, ["flag"] = null, ["name"] = "Blue4", ["facingDirection"] = {-0.9575538635253906, 0.2882544994354248}, ["state"] = 6, ["health"] = 0, ["seenlast"] = null, ["team"] = "Blue", ["currentAction"] = "ShootAtCommand", ["position"] = {47.545501708984375, 19.977867126464844}, ["visibleEnemies"] = {}}}}, ["match"] = {["__class__"] = "MatchInfo", ["__value__"] = {["timeRemaining"] = 148.42462158203125, ["timeToNextRespawn"] = 13.427755355834961, ["combatEvents"] = {{["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Blue3", ["time"] = 14.939663887023926, ["type"] = 1, ["subject"] = "Red3"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Red2", ["time"] = 16.550338745117188, ["type"] = 1, ["subject"] = "Blue2"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Red4", ["time"] = 16.550338745117188, ["type"] = 1, ["subject"] = "Blue2"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Red0", ["time"] = 17.310344696044922, ["type"] = 1, ["subject"] = "Blue4"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Blue3", ["time"] = 18.036685943603516, ["type"] = 1, ["subject"] = "Red0"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Red1", ["time"] = 18.201021194458008, ["type"] = 1, ["subject"] = "Blue3"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Blue0", ["time"] = 28.15752601623535, ["type"] = 1, ["subject"] = "Red4"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Blue1", ["time"] = 28.15752601623535, ["type"] = 2, ["subject"] = "RedFlag"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Blue0", ["time"] = 28.616199493408203, ["type"] = 1, ["subject"] = "Red2"}}, {["__class__"] = "MatchCombatEvent", ["__value__"] = {["instigator"] = "Blue0", ["time"] = 29.308876037597656, ["type"] = 1, ["subject"] = "Red1"}}}, ["timePassed"] = 31.5719051361084, ["scores"] = {["Blue"] = 0, ["Red"] = 0}}}}}
-- local t = JSON.table_to_json(lua_table)
function JSON.json_to_table(_json)
local lua_code = _json
-- print(lua_code)
local count = nil
repeat
lua_code, count = string.gsub(lua_code, "([%[%:%,%{]%s*)(%[)", "%1{")
until count == 0
-- print(lua_code)
local count = nil
repeat
lua_code, count = string.gsub(lua_code, "(%])(%s*[%]%,%}])", "}%2")
until count == 0
-- print(lua_code)
lua_code = string.gsub(lua_code, '(%"[%w%_]+%")%s*(%:)', "[%1] =")
-- print(lua_code)
lua_code = string.gsub(lua_code, '%=%s*null', "= nil")
-- print(lua_code)
local chunk = loadstring("return " .. lua_code, "input json")
if not chunk then
error("cannot convert json to lua ...\njson: " .. _table .. "\nlua: " .. lua_code)
end
return chunk()
end
-- local json = [=[{"__class__": "GameInfo", "__value__": {"teams": {"Blue": {"__class__": "TeamInfo", "__value__": {"flagScoreLocation": [82.0, 20.0], "name": "Blue", "flagSpawnLocation": [82.0, 20.0], "flag": "BlueFlag", "members": ["Blue0", "Blue1", "Blue2", "Blue3", "Blue4"], "botSpawnArea": [[79.0, 2.0], [85.0, 9.0]]}}, "Red": {"__class__": "TeamInfo", "__value__": {"flagScoreLocation": [6.0, 30.0], "name": "Red", "flagSpawnLocation": [6.0, 30.0], "flag": "RedFlag", "members": ["Red0", "Red1", "Red2", "Red3", "Red4"], "botSpawnArea": [[3.0, 41.0], [9.0, 48.0]]}}}, "flags": {"BlueFlag": {"__class__": "FlagInfo", "__value__": {"position": [82.0, 20.0], "carrier": null, "name": "BlueFlag", "respawnTimer": -7.450580596923828e-09, "team": "Blue"}}, "RedFlag": {"__class__": "FlagInfo", "__value__": {"position": [9.723822593688965, 28.638526916503906], "carrier": "Blue1", "name": "RedFlag", "respawnTimer": -7.450580596923828e-09, "team": "Red"}}}, "enemyTeam": "Red", "team": "Blue", "bots": {"Red3": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": null, "name": "Red3", "facingDirection": [0.9375345706939697, -0.3478919267654419], "state": 6, "health": 0, "seenlast": 13.370665550231934, "team": "Red", "currentAction": "ShootAtCommand", "position": [35.6309928894043, 26.81215476989746], "visibleEnemies": []}}, "Red2": {"__class__": "BotInfo", "__value__": {"seenBy": ["Blue0"], "flag": null, "name": "Red2", "facingDirection": [0.9123391509056091, -0.4094350337982178], "state": 6, "health": 0, "seenlast": 0.0, "team": "Red", "currentAction": "ShootAtCommand", "position": [68.28890991210938, 25.360763549804688], "visibleEnemies": []}}, "Red1": {"__class__": "BotInfo", "__value__": {"seenBy": ["Blue0"], "flag": null, "name": "Red1", "facingDirection": [-0.9972056150436401, 0.07470673322677612], "state": 4, "health": 0, "seenlast": 0.0, "team": "Red", "currentAction": "AttackCommand", "position": [68.53483581542969, 25.27260398864746], "visibleEnemies": []}}, "Red0": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": null, "name": "Red0", "facingDirection": [0.9994280338287354, -0.033820152282714844], "state": 6, "health": 0, "seenlast": 13.370665550231934, "team": "Red", "currentAction": "ShootAtCommand", "position": [34.46906280517578, 24.155515670776367], "visibleEnemies": []}}, "Red4": {"__class__": "BotInfo", "__value__": {"seenBy": ["Blue0"], "flag": null, "name": "Red4", "facingDirection": [0.912505030632019, -0.4090656042098999], "state": 6, "health": 0, "seenlast": 0.0, "team": "Red", "currentAction": "ShootAtCommand", "position": [68.30572509765625, 25.36515998840332], "visibleEnemies": []}}, "Blue1": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": "RedFlag", "name": "Blue1", "facingDirection": [0.9242773652076721, -0.3817223310470581], "state": 3, "health": 100.0, "seenlast": null, "team": "Blue", "currentAction": "MoveCommand", "position": [9.723822593688965, 28.638526916503906], "visibleEnemies": []}}, "Blue0": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": null, "name": "Blue0", "facingDirection": [-0.9890086054801941, 0.14785832166671753], "state": 1, "health": 100.0, "seenlast": null, "team": "Blue", "currentAction": null, "position": [81.625, 19.375], "visibleEnemies": ["Red2", "Red1", "Red4"]}}, "Blue3": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": null, "name": "Blue3", "facingDirection": [-0.9994280338287354, 0.03381979465484619], "state": 1, "health": 0, "seenlast": null, "team": "Blue", "currentAction": null, "position": [48.790069580078125, 23.665205001831055], "visibleEnemies": []}}, "Blue2": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": null, "name": "Blue2", "facingDirection": [-0.9112738966941833, 0.411800742149353], "state": 6, "health": 0, "seenlast": null, "team": "Blue", "currentAction": "ShootAtCommand", "position": [57.94633102416992, 32.63374710083008], "visibleEnemies": []}}, "Blue4": {"__class__": "BotInfo", "__value__": {"seenBy": [], "flag": null, "name": "Blue4", "facingDirection": [-0.9575538635253906, 0.2882544994354248], "state": 6, "health": 0, "seenlast": null, "team": "Blue", "currentAction": "ShootAtCommand", "position": [47.545501708984375, 19.977867126464844], "visibleEnemies": []}}}, "match": {"__class__": "MatchInfo", "__value__": {"timeRemaining": 148.42462158203125, "timeToNextRespawn": 13.427755355834961, "combatEvents": [{"__class__": "MatchCombatEvent", "__value__": {"instigator": "Blue3", "time": 14.939663887023926, "type": 1, "subject": "Red3"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Red2", "time": 16.550338745117188, "type": 1, "subject": "Blue2"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Red4", "time": 16.550338745117188, "type": 1, "subject": "Blue2"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Red0", "time": 17.310344696044922, "type": 1, "subject": "Blue4"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Blue3", "time": 18.036685943603516, "type": 1, "subject": "Red0"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Red1", "time": 18.201021194458008, "type": 1, "subject": "Blue3"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Blue0", "time": 28.15752601623535, "type": 1, "subject": "Red4"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Blue1", "time": 28.15752601623535, "type": 2, "subject": "RedFlag"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Blue0", "time": 28.616199493408203, "type": 1, "subject": "Red2"}}, {"__class__": "MatchCombatEvent", "__value__": {"instigator": "Blue0", "time": 29.308876037597656, "type": 1, "subject": "Red1"}}], "timePassed": 31.5719051361084, "scores": {"Blue": 0, "Red": 0}}}}}]=]
-- local t = JSON.json_to_table(json)
function JSON.encode(_name_or_class, _object, ...)
return JSON.table_to_json(JSON.object_to_table(_name_or_class, _object, ...))
end
function JSON.decode(_name_or_class, _json, ...)
return JSON.table_to_object(_name_or_class, JSON.json_to_table(_json), ...)
end
----------------------------------------------------------------------
-- Handshaking
require "Handshaking"
JSON.register(
ConnectServer,
"ConnectServer",
function(_object)
return {
protocolVersion = _object.protocolVersion,
}
end,
function(_table)
return ConnectServer(_table.protocolVersion)
end
)
JSON.register(
ConnectClient,
"ConnectClient",
function(_object)
return {
language = _object.language,
commanderName = _object.commanderName,
}
end,
function(_table)
return ConnectClient(_table.language, _table.commanderName)
end
)
----------------------------------------------------------------------
-- GameInfo
require "GameInfo"
local function Vector2_to_table(_object) return { _object.x, _object.y } end
local function table_to_Vector2(_table) return Vector2(_table) end
local function area_to_table(_object) return { Vector2_to_table(_object.min), Vector2_to_table(_object.max) } end
local function table_to_area(_table) return { min = table_to_Vector2(_table[1]), max = table_to_Vector2(_table[2]) } end
JSON.register(
LevelInfo,
"LevelInfo",
function(_object)
return {
width = _object.width,
height = _object.height,
blockHeights = _object.blockHeights,
teamNames = _object.teamNames,
flagSpawnLocations = JSON.parse_map(Vector2_to_table, _object.flagSpawnLocations),
flagScoreLocations = JSON.parse_map(Vector2_to_table, _object.flagScoreLocations),
botSpawnAreas = JSON.parse_map(area_to_table, _object.botSpawnAreas),
FOVangle = _object.FOVangle,
characterRadius = _object.characterRadius,
walkingSpeed = _object.walkingSpeed,
runningSpeed = _object.runningSpeed,
firingDistance = _object.firingDistance,
gameLength = _object.gameLength,
initializationTime = _object.initializationTime,
respawnTime = _object.respawnTime,
}
end,
function(_table)
return LevelInfo{
width = _table.width,
height = _table.height,
blockHeights = _table.blockHeights,
teamNames = _table.teamNames,
flagSpawnLocations = JSON.parse_map(table_to_Vector2, _table.flagSpawnLocations),
flagScoreLocations = JSON.parse_map(table_to_Vector2, _table.flagScoreLocations),
botSpawnAreas = JSON.parse_map(table_to_area, _table.botSpawnAreas),
FOVangle = _table.FOVangle,
characterRadius = _table.characterRadius,
walkingSpeed = _table.walkingSpeed,
runningSpeed = _table.runningSpeed,
firingDistance = _table.firingDistance,
gameLength = _table.gameLength,
initializationTime = _table.initializationTime,
respawnTime = _table.respawnTime,
}
end
)
JSON.register(
GameInfo,
"GameInfo",
function(_object)
return {
teams = JSON.parse_class_map(JSON.object_to_table, "TeamInfo", _object.teams),
team = _object.team.name,
enemyTeam = _object.enemyTeam.name,
flags = JSON.parse_class_map(JSON.object_to_table, "FlagInfo", _object.flags),
bots = JSON.parse_class_map(JSON.object_to_table, "BotInfo", _object.bots),
match = JSON.object_to_table("MatchInfo", _object.match),
}
end,
function(_table)
local params = {}
params.bots = JSON.parse_class_map(JSON.table_to_object, "BotInfo", _table.bots)
params.teams = JSON.parse_class_map(JSON.table_to_object, "TeamInfo", _table.teams, params)
params.team = assert(params.teams[_table.team])
params.enemyTeam = assert(params.teams[_table.enemyTeam])
params.flags = JSON.parse_class_map(JSON.table_to_object, "FlagInfo", _table.flags, params)
for name, team in pairs(params.teams) do
team.flag = params.flags[team.flag]
end
for name, bot in pairs(params.bots) do
bot.team = params.teams[bot.team]
bot.flag = params.flags[bot.flag]
for index, name in ipairs(bot.visibleEnemies) do
bot.visibleEnemies[index] = params.bots[name]
end
for index, name in ipairs(bot.seenBy) do
bot.seenBy[index] = params.bots[name]
end
end
params.match = JSON.table_to_object("MatchInfo", _table.match, params)
return GameInfo(params)
end
)
JSON.register(
TeamInfo,
"TeamInfo",
function(_object)
return {
name = _object.name,
members = _object.members, -- TODO: array of names
flag = _object.flag and _object.flag.name or JSON.null,
flagSpawnLocation = Vector2_to_table(_object.flagSpawnLocation),
flagScoreLocation = Vector2_to_table(_object.flagScoreLocation),
botSpawnArea = area_to_table(_object.botSpawnArea),
}
end,
function(_table, _params)
local params = {
name = _table.name,
members = {},
flag = _table.flag, -- temp name, will be replaced by flag object in GameInfo unserialization
flagSpawnLocation = table_to_Vector2(_table.flagSpawnLocation),
flagScoreLocation = table_to_Vector2(_table.flagScoreLocation),
botSpawnArea = table_to_area(_table.botSpawnArea),
}
for _, bot in ipairs(_table.members) do
table.insert(params.members, assert(_params.bots[bot]))
end
return TeamInfo(params)
end
)
JSON.register(
FlagInfo,
"FlagInfo",
function(_object)
return {
name = _object.name,
team = _object.team.name,
position = Vector2_to_table(_object.position),
carrier = _object.carrier and _object.carrier.name or JSON.null,
respawnTimer = _object.respawnTimer,
}
end,
function(_table, _params)
return FlagInfo{
name = _table.name,
team = assert(_params.teams[_table.team]),
position = table_to_Vector2(_table.position),
carrier = _table.carrier and assert(_params.bots[_table.carrier], tostring(_table.carrier) .. "bot not found") or JSON.null,
respawnTimer = _table.respawnTimer,
}
end
)
JSON.register(
BotInfo,
"BotInfo",
function(_object)
return {
name = _object.name,
team = _object.team.name,
health = _object.health,
state = _object.state,
position = Vector2_to_table(_object.position),
facingDirection = Vector2_to_table(_object.facingDirection),
seenlast = _object.seenlast,
flag = _object.flag and _object.flag.name or JSON.null,
visibleEnemies = _object.visibleEnemies, -- TODO: array of names
seenBy = _object.seenBy, -- TODO: array of names
}
end,
function(_table)
return BotInfo{
name = _table.name,
team = _table.team, -- temp name, will be replaced by team object in GameInfo unserialization
health = _table.health,
state = _table.state,
position = _table.position and table_to_Vector2(_table.position),
facingDirection = _table.facingDirection and table_to_Vector2(_table.facingDirection),
seenlast = _table.seenlast,
flag = _table.flag, -- temp name, will be replaced by flag object in GameInfo unserialization
visibleEnemies = _table.visibleEnemies, -- temp name list, will be replaced by bot objects in GameInfo unserialization
seenBy = _table.seenBy, -- temp name list, will be replaced by bot objects in GameInfo unserialization
}
end
)
JSON.register(
MatchInfo,
"MatchInfo",
function(_object)
return {
timeRemaining = _object.timeRemaining,
timeToNextRespawn = _object.timeToNextRespawn,
combatEvents = JSON.parse_class_map(JSON.object_to_table, "MatchCombatEvent", _object.combatEvents),
}
end,
function(_table, _params)
return MatchInfo{
timeRemaining = _table.timeRemaining,
timeToNextRespawn = _table.timeToNextRespawn,
combatEvents = JSON.parse_class_map(JSON.table_to_object, "MatchCombatEvent", _table.combatEvents, _params),
}
end
)
JSON.register(
MatchCombatEvent,
"MatchCombatEvent",
function(_object)
return {
type = _object.type,
time = _object.time,
instigator = _object.instigator and _object.instigator.name or JSON.null,
subject = _object.subject.name,
}
end,
function(_table, _params)
local bot_subject = { [MatchCombatEvent.TYPE_KILLED] = true, [MatchCombatEvent.TYPE_RESPAWN] = true }
local flag_subject = { [MatchCombatEvent.TYPE_FLAG_PICKEDUP] = true, [MatchCombatEvent.TYPE_FLAG_DROPPED] = true, [MatchCombatEvent.TYPE_FLAG_CAPTURED] = true, [MatchCombatEvent.TYPE_FLAG_RESTORED] = true }
local params = {
type = _table.type,
time = _table.time,
instigator = _table.instigator and _params.bots[_table.instigator] or JSON.null,
}
if bot_subject[_table.type] then
params.subject = _params.bots[_table.subject]
elseif flag_subject[_table.type] then
params.subject = _params.flags[_table.subject]
else
error(string.format("unkinown subject type %d for MatchCombatEvent", _table.type))
end
return MatchCombatEvent(params)
end
)
----------------------------------------------------------------------
-- Commands
require "Commands"
JSON.register(
DefendCommand,
"Defend",
function(_object)
local function facingDirection_to_table(_object) return { Vector2_to_table(_object.direction), _object.time } end
local facingDirections = _object.facingDirections and JSON.parse_map(facingDirection_to_table, _object.facingDirections) or JSON.null
return {
bot = _object.botId,
facingDirections = facingDirections,
description = _object.description,
}
end,
function(_table)
local function table_to_facingDirection(_table) return DefendCommand.FacingDirection(table_to_Vector2(_table[1]), _table[2]) end
local facingDirection_list = _table.facingDirections and JSON.parse_map(table_to_facingDirection, _table.facingDirections)
return DefendCommand(_table.bot, { facingDirection_list = facingDirection_list }, _table.description)
end
)
JSON.register(
MoveCommand,
"Move",
function(_object)
return {
bot = _object.botId,
target = JSON.parse_map(Vector2_to_table, _object.target),
description = _object.description,
}
end,
function(_table)
return MoveCommand(_table.bot, { target_list = JSON.parse_map(table_to_Vector2, _table.target) }, _table.description)
end
)
JSON.register(
AttackCommand,
"Attack",
function(_object)
return {
bot = _object.botId,
target = JSON.parse_map(Vector2_to_table, _object.target),
lookAt = _object.lookAt and Vector2_to_table(_object.lookAt) or JSON.null,
description = _object.description,
}
end,
function(_table)
return AttackCommand(_table.bot, { target_list = JSON.parse_map(table_to_Vector2, _table.target), lookAt = _table.lookAt and table_to_Vector2(_table.lookAt) }, _table.description)
end
)
JSON.register(
ChargeCommand,
"Charge",
function(_object)
return {
bot = _object.botId,
target = JSON.parse_map(Vector2_to_table, _object.target),
description = _object.description,
}
end,
function(_table)
return ChargeCommand(_table.bot, { target_list = JSON.parse_map(table_to_Vector2, _table.target) }, _table.description)
end
)
|
--[[
Lua implementation of HSLuv and HPLuv color spaces
Homepage: http://www.hsluv.org/
Copyright (C) 2019 Alexei Boronine
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
]]
local hsluv = {}
local hexChars = '0123456789abcdef'
local distance_line_from_origin = function(line)
return math.abs(line.intercept) / math.sqrt((line.slope ^ 2) + 1)
end
local length_of_ray_until_intersect = function(theta, line)
return line.intercept / (math.sin(theta) - line.slope * math.cos(theta))
end
hsluv.get_bounds = function(l)
local result = {}
local sub2
local sub1 = ((l + 16) ^ 3) / 1560896
if sub1 > hsluv.epsilon then
sub2 = sub1
else
sub2 = l / hsluv.kappa
end
for i = 1, 3 do
local m1 = hsluv.m[i][1]
local m2 = hsluv.m[i][2]
local m3 = hsluv.m[i][3]
for t = 0, 1 do
local top1 = (284517 * m1 - 94839 * m3) * sub2
local top2 = (838422 * m3 + 769860 * m2 + 731718 * m1) * l * sub2 - 769860 * t * l
local bottom = (632260 * m3 - 126452 * m2) * sub2 + 126452 * t
table.insert(result, { slope = top1 / bottom, intercept = top2 / bottom })
end
end
return result
end
hsluv.max_safe_chroma_for_l = function(l)
local bounds = hsluv.get_bounds(l)
local min = 1.7976931348623157e+308
for i = 1, 6 do
local length = distance_line_from_origin(bounds[i])
if length >= 0 then
min = math.min(min, length)
end
end
return min
end
hsluv.max_safe_chroma_for_lh = function(l, h)
local hrad = h / 360 * math.pi * 2
local bounds = hsluv.get_bounds(l)
local min = 1.7976931348623157e+308
for i = 1, 6 do
local bound = bounds[i]
local length = length_of_ray_until_intersect(hrad, bound)
if length >= 0 then
min = math.min(min, length)
end
end
return min
end
hsluv.dot_product = function(a, b)
local sum = 0
for i = 1, 3 do
sum = sum + a[i] * b[i]
end
return sum
end
hsluv.from_linear = function(c)
if c <= 0.0031308 then
return 12.92 * c
else
return 1.055 * (c ^ 0.416666666666666685) - 0.055
end
end
hsluv.to_linear = function(c)
if c > 0.04045 then
return ((c + 0.055) / 1.055) ^ 2.4
else
return c / 12.92
end
end
hsluv.xyz_to_rgb = function(tuple)
return {
hsluv.from_linear(hsluv.dot_product(hsluv.m[1], tuple)),
hsluv.from_linear(hsluv.dot_product(hsluv.m[2], tuple)),
hsluv.from_linear(hsluv.dot_product(hsluv.m[3], tuple)),
}
end
hsluv.rgb_to_xyz = function(tuple)
local rgbl = { hsluv.to_linear(tuple[1]), hsluv.to_linear(tuple[2]), hsluv.to_linear(tuple[3]) }
return {
hsluv.dot_product(hsluv.minv[1], rgbl),
hsluv.dot_product(hsluv.minv[2], rgbl),
hsluv.dot_product(hsluv.minv[3], rgbl),
}
end
hsluv.y_to_l = function(Y)
if Y <= hsluv.epsilon then
return Y / hsluv.refY * hsluv.kappa
else
return 116 * ((Y / hsluv.refY) ^ 0.333333333333333315) - 16
end
end
hsluv.l_to_y = function(L)
if L <= 8 then
return hsluv.refY * L / hsluv.kappa
else
return hsluv.refY * (((L + 16) / 116) ^ 3)
end
end
hsluv.xyz_to_luv = function(tuple)
local X = tuple[1]
local Y = tuple[2]
local divider = X + 15 * Y + 3 * tuple[3]
local varU = 4 * X
local varV = 9 * Y
if divider ~= 0 then
varU = varU / divider
varV = varV / divider
else
varU = 0
varV = 0
end
local L = hsluv.y_to_l(Y)
if L == 0 then
return { 0, 0, 0 }
end
return { L, 13 * L * (varU - hsluv.refU), 13 * L * (varV - hsluv.refV) }
end
hsluv.luv_to_xyz = function(tuple)
local L = tuple[1]
local U = tuple[2]
local V = tuple[3]
if L == 0 then
return { 0, 0, 0 }
end
local varU = U / (13 * L) + hsluv.refU
local varV = V / (13 * L) + hsluv.refV
local Y = hsluv.l_to_y(L)
local X = 0 - (9 * Y * varU) / (((varU - 4) * varV) - varU * varV)
return { X, Y, (9 * Y - 15 * varV * Y - varV * X) / (3 * varV) }
end
hsluv.luv_to_lch = function(tuple)
local L = tuple[1]
local U = tuple[2]
local V = tuple[3]
local C = math.sqrt(U * U + V * V)
local H
if C < 0.00000001 then
H = 0
else
H = math.atan2(V, U) * 180.0 / 3.1415926535897932
if H < 0 then
H = 360 + H
end
end
return { L, C, H }
end
hsluv.lch_to_luv = function(tuple)
local L = tuple[1]
local C = tuple[2]
local Hrad = tuple[3] / 360.0 * 2 * math.pi
return { L, math.cos(Hrad) * C, math.sin(Hrad) * C }
end
hsluv.hsluv_to_lch = function(tuple)
local H = tuple[1]
local S = tuple[2]
local L = tuple[3]
if L > 99.9999999 then
return { 100, 0, H }
end
if L < 0.00000001 then
return { 0, 0, H }
end
return { L, hsluv.max_safe_chroma_for_lh(L, H) / 100 * S, H }
end
hsluv.lch_to_hsluv = function(tuple)
local L = tuple[1]
local C = tuple[2]
local H = tuple[3]
local max_chroma = hsluv.max_safe_chroma_for_lh(L, H)
if L > 99.9999999 then
return { H, 0, 100 }
end
if L < 0.00000001 then
return { H, 0, 0 }
end
return { H, C / max_chroma * 100, L }
end
hsluv.hpluv_to_lch = function(tuple)
local H = tuple[1]
local S = tuple[2]
local L = tuple[3]
if L > 99.9999999 then
return { 100, 0, H }
end
if L < 0.00000001 then
return { 0, 0, H }
end
return { L, hsluv.max_safe_chroma_for_l(L) / 100 * S, H }
end
hsluv.lch_to_hpluv = function(tuple)
local L = tuple[1]
local C = tuple[2]
local H = tuple[3]
if L > 99.9999999 then
return { H, 0, 100 }
end
if L < 0.00000001 then
return { H, 0, 0 }
end
return { H, C / hsluv.max_safe_chroma_for_l(L) * 100, L }
end
hsluv.rgb_to_hex = function(tuple)
local h = '#'
for i = 1, 3 do
local c = math.floor(tuple[i] * 255 + 0.5)
local digit2 = math.fmod(c, 16)
local x = (c - digit2) / 16
local digit1 = math.floor(x)
h = h .. string.sub(hexChars, digit1 + 1, digit1 + 1)
h = h .. string.sub(hexChars, digit2 + 1, digit2 + 1)
end
return h
end
hsluv.hex_to_rgb = function(hex)
hex = string.lower(hex)
local ret = {}
for i = 0, 2 do
local char1 = string.sub(hex, i * 2 + 2, i * 2 + 2)
local char2 = string.sub(hex, i * 2 + 3, i * 2 + 3)
local digit1 = string.find(hexChars, char1) - 1
local digit2 = string.find(hexChars, char2) - 1
ret[i + 1] = (digit1 * 16 + digit2) / 255.0
end
return ret
end
hsluv.lch_to_rgb = function(tuple)
return hsluv.xyz_to_rgb(hsluv.luv_to_xyz(hsluv.lch_to_luv(tuple)))
end
hsluv.rgb_to_lch = function(tuple)
return hsluv.luv_to_lch(hsluv.xyz_to_luv(hsluv.rgb_to_xyz(tuple)))
end
hsluv.hsluv_to_rgb = function(tuple)
return hsluv.lch_to_rgb(hsluv.hsluv_to_lch(tuple))
end
hsluv.rgb_to_hsluv = function(tuple)
return hsluv.lch_to_hsluv(hsluv.rgb_to_lch(tuple))
end
hsluv.hpluv_to_rgb = function(tuple)
return hsluv.lch_to_rgb(hsluv.hpluv_to_lch(tuple))
end
hsluv.rgb_to_hpluv = function(tuple)
return hsluv.lch_to_hpluv(hsluv.rgb_to_lch(tuple))
end
hsluv.hsluv_to_hex = function(tuple)
return hsluv.rgb_to_hex(hsluv.hsluv_to_rgb(tuple))
end
hsluv.hpluv_to_hex = function(tuple)
return hsluv.rgb_to_hex(hsluv.hpluv_to_rgb(tuple))
end
hsluv.hex_to_hsluv = function(s)
return hsluv.rgb_to_hsluv(hsluv.hex_to_rgb(s))
end
hsluv.hex_to_hpluv = function(s)
return hsluv.rgb_to_hpluv(hsluv.hex_to_rgb(s))
end
hsluv.m = {
{ 3.240969941904521, -1.537383177570093, -0.498610760293 },
{ -0.96924363628087, 1.87596750150772, 0.041555057407175 },
{ 0.055630079696993, -0.20397695888897, 1.056971514242878 },
}
hsluv.minv = {
{ 0.41239079926595, 0.35758433938387, 0.18048078840183 },
{ 0.21263900587151, 0.71516867876775, 0.072192315360733 },
{ 0.019330818715591, 0.11919477979462, 0.95053215224966 },
}
hsluv.refY = 1.0
hsluv.refU = 0.19783000664283
hsluv.refV = 0.46831999493879
hsluv.kappa = 903.2962962
hsluv.epsilon = 0.0088564516
return hsluv
|
local palette = require("palette")
local color = palette.draw()
if color == nil then color = "никакой. Че, серьезно? Вообще ничего не выбрал? Во петух, а?" end
print(" ")
print("Выбранный цвет = "..tostring(color))
print(" ")
|
name = "Anywhere Leveler"
author = "MeltWS"
description = [[Simple yet effective leveler using PathFinder]]
local pf = require "Pathfinder/MoveToApp" -- requesting table with methods
local mapExp = "Dragons Den"
local levelGoal = 98 -- scripts prevents Evolution so be carefull.
local xpTargets = {1, 3} -- table containing index of pokemon(s) to train.
local holdItem = "Leftovers" -- support giving an item to the leader, if you don't want to give one, set to nil.
local xpZone = function() return moveToWater() end -- you can change this depending of your needs, moveToRectangle() or moveToGrass().
local map = nil
-- failsafe function for battle, in the event where the last Pokemon is the active but API call attack() does not work.
-- This is due to his only move(s) with PP being not damaging type move(s).
function useAnyMove()
local pokemonId = getActivePokemonNumber()
for i=1,4 do
local moveName = getPokemonMoveName(pokemonId, i)
if moveName and getRemainingPowerPoints(pokemonID, moveName) > 0 then
log("Use any move")
return useMove(moveName)
elseif not moveName then
log("useAnyMove : moveName nil")
end
end
return false
end
function hasUsableDamageMove(pokemonID)
for i = 1, 4 do
local moveName = getPokemonMoveName(pokemonID, i)
if moveName ~= "False Swipe" and getPokemonMovePower(pokemonID, i) > 0 and getRemainingPowerPoints(pokemonID, moveName) > 0 then
return true
end
end
return false
end
local function swapLeaderWithTargetXp()
for k, v in pairs(xpTargets) do
if v ~= 1 and getPokemonHealth(v) > 0 and hasUsableDamageMove(v) then
if not getPokemonHeldItem(1) then
return assert(swapPokemonWithLeader(getPokemonName(v)), "Failed to swap Pokemon ".. v .." with leader.")
else return assert(takeItemFromPokemon(1), "Failed to retrieve item from leader")
end
end
end
return false
end
local function isDone()
for k, v in pairs(xpTargets) do
if getPokemonLevel(v) < levelGoal then
return false
end
end
return true
end
local function giveLeaderItem()
local currentItem = getPokemonHeldItem(1)
if not holdItem or currentItem == holdItem then
return false
elseif currentItem ~= nil then
return assert(takeItemFromPokemon(1), "Failed to retrieve item from leader.")
else return assert(giveItemToPokemon(holdItem, 1), "Failed to give item to Pokemon : " .. holdItem .. ", please make sure you have the item, otherwise set the holdItem value to nil.")
end
end
function onStart()
if isAutoEvolve() then
assert(disableAutoEvolve(), "Something wrong with disabling auto evolve.")
end
end
function onPathAction()
map = getMapName()
if isDone() then
return fatal("level reached")
elseif getPokemonHealth(1) == 0 or not hasUsableDamageMove(1) or getPokemonLevel(1) > levelGoal then
if not swapLeaderWithTargetXp() then
return pf.useNearestPokecenter()
end
elseif not giveLeaderItem() then
if not pf.moveTo(map, mapExp) then
return xpZone()
end
end
end
function onBattleAction()
if getPokemonHealth(1) > 0 and map == mapExp then
return attack() or run() or sendUsablePokemon() or sendAnyPokemon() or useAnyMove()
else return run() or attack() or sendUsablePokemon() or sendAnyPokemon() or useAnyMove()
end
end
|
local Map = require 'map'
local Block = require 'enemy-block'
local Fly = require 'enemy-fly'
local Fish = require 'enemy-fish'
local Room = require 'rooms'
return Map(80, 0.02, {4, 1, 0.5, 0}, {
Room('nine', 2),
Room('quad', 2),
Room('hall3', 5)
}, {
{4, Block, 1.5, 'enemies'},
{7, Fly, 2, 'enemies'},
{2, Fish, 2, 'enemies'}
})
|
--//////////////////////////////////////////////////////////////////////
--************************
--FloorEntity
--************************
local FloorConsts = require('field.FloorConsts')
FloorEntity = {}
FloorEntity.__index = FloorEntity
function FloorEntity.new(id, name)
local self = setmetatable({}, FloorEntity)
self.id = id
self.name = name or 'FloorEntity'
self.floor = nil
self.tileId = nil
self.facing = FloorConsts.facing.up
return self
end
function FloorEntity:onInput(input)
end
function FloorEntity:update(dt)
end
function FloorEntity:render()
end
function FloorEntity:setValue(key, value)
if type(key) ~= 'string' then error('the key must be a string') end
if type(value) ~= 'string' and type(value) ~= 'number' then error('the value must be a string or a number') end
if self.userdata == nil then self.userdata = {} end
self.userdata[key] = value
end
function FloorEntity:getValue(key)
if type(key) ~= 'string' then error('the key must be a string') end
if self.userdata == nil then self.userdata = {} end
if self.userdata[key] == nil then error('no value found for key ' .. key) end
return self.userdata[key]
end
return FloorEntity
|
local followchars = true;
local xx = 255.95;
local yy = 365;
local xx2 = 1222.9;
local yy2 = 455;
local ofs = 50;
local ofs2 = 25;
local del = 0;
local del2 = 0;
function onCreate()
-- background shit
makeLuaSprite('france', 'gemzone', -600, -300);
makeLuaSprite('skybox', 'sky', -600, -300);
setLuaSpriteScrollFactor('skybox', 0.3, 1.0);
addLuaSprite('skybox', skybox);
addLuaSprite('france', france);
makeAnimatedLuaSprite('sexualintercourse', 'sprites/pibby', 1485, 425);
addAnimationByPrefix('sexualintercourse', 'first', 'pibby', 24, false);
objectPlayAnimation('sexualintercourse', 'first');
addLuaSprite('sexualintercourse', true); -- false = add behind characters, true = add over characters
end
function onUpdate() --thank you bbpanzu very cool
if del > 0 then
del = del - 1
end
if del2 > 0 then
del2 = del2 - 1
end
if followchars == true then
if mustHitSection == false then
if getProperty('dad.animation.curAnim.name') == 'singLEFT' then
triggerEvent('Camera Follow Pos',xx-ofs,yy)
setProperty('defaultCamZoom',0.8)
end
if getProperty('dad.animation.curAnim.name') == 'singRIGHT' then
triggerEvent('Camera Follow Pos',xx+ofs,yy)
setProperty('defaultCamZoom',0.8)
end
if getProperty('dad.animation.curAnim.name') == 'singUP' then
triggerEvent('Camera Follow Pos',xx,yy-ofs)
setProperty('defaultCamZoom',0.8)
end
if getProperty('dad.animation.curAnim.name') == 'singDOWN' then
triggerEvent('Camera Follow Pos',xx,yy+ofs)
setProperty('defaultCamZoom',0.8)
end
if getProperty('dad.animation.curAnim.name') == 'singLEFT-alt' then
triggerEvent('Camera Follow Pos',xx-ofs,yy)
end
if getProperty('dad.animation.curAnim.name') == 'singRIGHT-alt' then
triggerEvent('Camera Follow Pos',xx+ofs,yy)
end
if getProperty('dad.animation.curAnim.name') == 'singUP-alt' then
triggerEvent('Camera Follow Pos',xx,yy-ofs)
end
if getProperty('dad.animation.curAnim.name') == 'singDOWN-alt' then
triggerEvent('Camera Follow Pos',xx,yy+ofs)
end
if getProperty('dad.animation.curAnim.name') == 'idle-alt' then
triggerEvent('Camera Follow Pos',xx,yy)
end
if getProperty('dad.animation.curAnim.name') == 'idle' then
triggerEvent('Camera Follow Pos',xx,yy)
end
end
else
triggerEvent('Camera Follow Pos','xx2','yy2')
end
end
function opponentNoteHit()
if mustHitSection == false then
health = getProperty('health')
if getProperty('health') > 0.1 then
setProperty('health', getProperty('health')-0.01);
end
end
end
function onBeatHit()
-- triggered 4 times per section
if curBeat % 2 == 0 then
objectPlayAnimation('sexualintercourse', 'first');
end
end
function onCountdownTick(counter)
-- counter = 0 -> "Three"
-- counter = 1 -> "Two"
-- counter = 2 -> "One"
-- counter = 3 -> "Go!"
-- counter = 4 -> Nothing happens lol, tho it is triggered at the same time as onSongStart i think
if counter % 3 == 0 then
objectPlayAnimation('sexualintercourse', 'first');
end
end |
local reaper = reaper
-- Set package path to search within directory containing current script.
local path = ({reaper.get_action_context()})[2]:match('^.+[\\//]')
package.path = string.format('%s?.lua;%s?/init.lua', path, path)
local Shell = require("utils/shell")
local ReaperAPI = require("api/reaper_api")
local Utils = require("utils")
Spleeter = {
stems = 2, -- 2, 4,or 5
sample_rate = '11_KHZ', -- or 16 kHz
mediaItems = {},
output_path = "output",
options = {place_items_mode = ""},
mapping = {place_items = {["AS_TAKES"] = {3}, ["AS_NEW_TRACKS"] = {1, 128}}}
}
function Spleeter:new(stems, sample_rate, mediaItems, options)
self:setStems(stems)
self:setSampleRate(sample_rate)
self:setMediaItems(mediaItems)
self:setOptions(options)
return self
end
function Spleeter:setOptions(options)
self.options = {
place_items_mode = self.mapping.place_items[options.place_items_mode]
}
end
function Spleeter:setStems(stems)
stems = tonumber(stems)
if stems < 2 or stems > 5 or stems == 3 then
reaper.ShowMessageBox("Stems count should be 2, 4, or 5!", "Error", 0)
end
self.stems = stems
end
function Spleeter:setSampleRate(sample_rate)
if sample_rate == "default" or sample_rate == "11_KHZ" then
self.sample_rate = ""
elseif sample_rate == "16_KHZ" then
self.sample_rate = "-16kHz"
else
reaper.ShowMessageBox(
"Spleeter supports 11KHz (default) and 16 KHz sample rates!",
"Error", 0)
end
end
function Spleeter:setMediaItems(items)
local _items = {}
for i, item in ipairs(items) do
local fp = ReaperAPI.get_media_item_file_path(item)
if fp then _items[i] = {fp, item} end
end
self.mediaItems = _items
end
function Spleeter:process()
local projectFp = reaper.GetProjectPath()
local spleeter_cmd = string.format(
"/usr/bin/python3.9 -m spleeter separate -o \"%s\" -p spleeter:%dstems ",
projectFp .. "/" .. Spleeter.output_path,
Spleeter.stems)
for _, val in ipairs(self.mediaItems) do
local filepath, mi = val[1], val[2]
local filename = Utils.strings.GetFileNameWithoutExtension(filepath)
local command = spleeter_cmd .. " " .. "\"" .. filepath .. "\""
reaper.ShowConsoleMsg("Command to process: " .. command .. "\n")
local err, result = Shell.execute(command)
if err then
if string.match(err, "ERROR") then
reaper.ShowMessageBox(err, "Spleeter error!", 0)
return false
elseif string.match(err, "successfully") then
reaper.ShowMessageBox(err, "Spleeter info", 0)
end
end
reaper.ShowConsoleMsg("Result: " .. result .. "\n")
if result then
local variants = Store.get("check_group_place_variants_key")
for k, v in pairs(variants) do
if v == true then
local variant = string.lower(k:gsub("VARIANT_", ""))
if variant == "other" then
variant = "accompaniment"
end
-- reaper.ShowConsoleMsg("New FN: " .. filename .. "\n")
local newFilePath = string.format("%s/%s/%s/%s", projectFp,
self.output_path,
filename,
variant .. ".wav")
-- reaper.ShowConsoleMsg("New FP: " .. newFilePath .. "\n")
ReaperAPI._insert_media(newFilePath,
self.options.place_items_mode)
end
end
end
return result
end
end
return Spleeter
|
--
-- Wholly
-- Written by scott@mithrandir.com
--
-- This was inspired by my need to replace EveryQuest with something that was more accurate. The pins
-- was totally inspired by QuestHubber which I found when looking for a replacement for EveryQuest. I
-- initially made a port of QuestHubber to QuestHubberGrail to make use of the Grail database, but now
-- I have integrated that work into this addon. Many thanks for all the work put into QuestHubber. I
-- was inspired to add a quest breadcrumb area from seeing one in Quest Completist.
--
-- Version History
-- 001 Initial version.
-- 002 Support for displaysDungeonQuests now works properly.
-- Added the ability for the panel tooltip to display questgivers.
-- Added the ability to click a quest in the panel to create a TomTom waypoint.
-- Map pins are only displayed for the proper dungeon level of the map.
-- 003 Added a panel button to switch to the current zone.
-- Changed the Close button into a Sort button that switches between three different modes:
-- 1. Alphabetical 2. Quest level, then alphabetical 3. Quest status, then alphabetical
-- Made map pins only have one pin per NPC, indicating the "best" color possible.
-- The entire zone dropdown button on the quest log panel now can be clicked to change zones.
-- Corrected a problem where someone running without LibStub would get a LUA error.
-- Corrected a localization issue.
-- 004 Added the ability to display a basic quest prerequisite chain in the quest panel tooltip, requiring Grail 014 or later.
-- Added the ability to right-click a "prerequisite" quest in the panel to put a TomTom arrow to the first prerequisite quest.
-- Added Dungeons and Other menu items for map areas in the quest log panel.
-- The last-used sort preference is stored on a per-character basis.
-- 005 Corrected the fix introduced in version 003 putting the LibDataBroker icon back in place.
-- Corrected a problem where the quest log tooltip would have an error if the questgiver was in a dungeon appearing in the zone.
-- Added the ability for the quest log tooltip to show that the questgiver should be killed (like the map pin tooltip).
-- The problem where map pins would not live update unless the quest log panel was opened has been fixed as long
-- as the Wholly check button appears on the map.
-- Added the ability to show quest breadcrumb information when the Quest Frame opens, showing a tooltip of breadcrumb
-- quests when the mouse enters the "breadcrumb area", and putting TomTom waypoints when clicking in it.
-- 006 Added the new quest group "World Events" which has holiday quests in it, requiring Grail 015.
-- Added a tooltip to the Wholly check button on the map that indicates how many quests of each type are in the map.
-- Added a tooltip to the LibDataBroker icon that shows the quest log panel "map" selection and the quest count/type.
-- Added a tooltip to the quest log panel Zone button that shows the quest count/type.
-- Corrected the problem where the quest log panel and map pins were not live updating when quest givers inside dungeons checked.
-- Corrected the problem where an NPC that drops items that starts more than one quest does not display the information properly
-- in its tooltip.
-- Made it so the open World Map can be updated when crossing into a new zone.
-- 007 Added the ability to show whether quests in the quest log are completed or failed.
-- Made it so right-clicking an "in log" quest will put in TomTom waypoints for the turn in locations, which requires Grail 016
-- for proper functioning since Grail 015 had a bug.
-- Made the strings for the preferences color quest information like it appears in the UI.
-- Made it so alt-clicking a log in the Wholly quest log selects the NPC that gives the quest or for the case of "in log" quests
-- the one to which the quest is turned in.
-- 008 Split out Dungeons into dungeons in different continents, requiring Grail version 017.
-- Corrected a misspelling of the global game tooltip name.
-- 009 Added localization for ptBR in anticipation of the Brazilian release.
-- Changed over to using Blizzard-defined strings for as many things as possible.
-- Corrected a problem that was causing the tooltip for creatures that needed to be killed to start a quest not to appear properly.
-- Added a few basic localizations.
-- Made the breadcrumb frame hide by default to attempt to eliminate an edge case.
-- Fixed a problem where button clicking behavior would never be set if the button was first entered while in combat.
-- Made prerequisite information appear as question marks instead of causing a LUA error in case the Grail data is lacking.
-- 010 Made it so the color of the breadcrumb quest names match their current status.
-- The click areas to the right and bottom of the quest log window no longer extend past the window.
-- Added menu options for Class quests, Profession quests, Reputation quests, and Daily quests. The Class and Profession quests will show all the quests in the system except for the class and professions that match the player. For those, the quests are displayed using the normal filtering rules. The Reputation quests follow the normal filtering rules except those that fail to be acceptable solely because of reputation will be displayed instead of following the display unobtainable filter.
-- Changed over to using Grail's StatusCode() vice Status(), and making use of more modern bit values, thereby requiring version 20.
-- Removed a few event types that are handled because Grail now does that. Instead switched to using Grail's new Status notification.
-- The tooltips for quests in the panel show profession and reputation requirements as appropriate.
-- Corrected a problem where the quest panel may not update properly while in combat.
-- 011 Made it so the breadcrumb warning will disappear properly when the user dismisses the quest frame.
-- Made it so Grail's support for Monks does not cause headaches when Monks are not available in the game.
-- Made it so Classes that do not have any class quests will not show up in the list.
-- Put in a feature to limit quests shown to those that count towards Loremaster, thereby requiring Grail version 21.
-- When the quest details appear the quest ID is shown in the top right, and it has a tooltip with useful quest information.
-- Changed the behavior of right-clicking a quest in the quest panel to put arrows to the turn in locations for all but prerequisite quests.
-- The tooltip information describing the quest shows failure reasons by changing to red categories that fail, and to orange categories that fail in prerequisite quests.
-- The quest tooltip information now indicates the first quest(s) in the prerequisite quest list as appropriate.
-- The preference to control displaying prerequisite quests in the tooltip has been removed.
-- 012 Added the ability for the tooltip to display faction reputation changes that happen when a quest is turned in.
-- Grouped the Dungeons menu items under a single Dungeons menu item.
-- Added menu items for Reputation Changes quests, grouped by reputation.
-- Added menu items for Achievement quests, grouped by continent, requiring Grail 22.
-- Updated the TOC to support Interface 40300.
-- Fixed the map pin icons whose height Blizzard changed with the 4.3 release.
-- 013 Fixes a problem where map pins would not appear and the quest ID would not appear in the Blizzard Quest Frame because the events were not set up properly because sometimes Blizzard sends events in a different order than expected.
-- Makes all the Wholly quest panel update calls ensure they are performed out of combat.
-- Updates Portuguese translation thanks to weslleih and htgome.
-- Fixes a problem where quests in the Blizzard log sometimes would not appear purple in the Wholly Quest Log.
-- Fixes a problem where holidays are not detected properly because of timing issues.
-- 014 Fixes the problem where the NPC tooltip did not show the exclamation point properly (instead showing a different icon) when the NPC can start a quest.
-- Adds a search ability that allows searching for quests based on their titles.
-- Adds the ability to display player coordinates into a LibDataBroker feed.
-- Updates some localizations.
-- Fixes the problem where the panel would no longer update after a UI reload, requiring Grail 26.
-- Adds some more achievements to the menu that are world event related.
-- Makes it so quests in the Blizzard quest log will be colored purple in preference to other colors (like brown in case the player would no longer qualify getting the quest).
-- Makes it so the indicator for a completed repeatable quest will appear even if the quest is not colored blue.
-- 015 Adds the filtered and total quest counts to the tooltip that tells the counts of the types of quests. For the world map button tooltip the filtered quest count displays in red if the quest markers on the map are hidden.
-- Corrects a problem where lacking LibDataBroker would cause a LUA error associated with the player coordinates.
-- Fixes a cosmetic issue with the icon in the top left of the Wholly quest log panel to show the surrounding edge properly.
-- Changes the world map check box into a button that performs the same function.
-- Changes the classification of "weekly", "monthly" and "yearly" quests so they no longer appear as resettable quests, but as normal ones.
-- Adds a tooltip for the coordinates that shows the map area ID and name.
-- 016 *** Requires Grail 28 or later ***
-- Adds the ability to color the achievement menu items based on whether they are complete.
-- Corrects the problem where the tooltip does not show the different names of the NPCs that can drop an item to start a quest.
-- Corrects the problem where alt-clicking a quest would not select the NPC properly if the NPC drops an item to start a quest.
-- Tracks multiple waypoints that are logically added as a group so when one is removed all of them are removed.
-- Updates some Portuguese localizations.
-- Adds the ability to show bugged information about a quest.
-- Adds a preference to consider bugged quests unobtainable.
-- Makes it select the closest waypoint when more than one is added at the same time.
-- 017 *** Requires Grail 29 or later ***
-- Updates the preferences to allow more precise control of displayed quest types.
-- Creates the ability to control whether achievement and reputation change information is used.
-- Adds some Russian localization by freega3 but abused by me.
-- Adds basic structural support for the Italian localization.
-- Changes the presentation of prerequisite quest information to have all types unified in one location.
-- 018 Adds some missing Italian UI keys.
-- Removes UI keys no longer used.
-- Fixes the icon that appears in the tooltip when an NPC drops an item that starts a quest.
-- Adds the ability to display item quest prerequisites.
-- Changes the priority of quest classification to ensure truly repeatable quests are never green.
-- Adds support for Cooking and Fishing achievements, present in Grail 31.
-- Adds support to display LightHeaded data by shift-left-click a quest in the Wholly quest panel.
-- Adds the ability to display abandoned and accepted quest prerequisites.
-- 019 Adds German localization provided by polzi and aryl2mithril.
-- Adds French localization provided by deadse and Noeudtribal.
-- Corrects the problem where the preference to control holiday quests always was not working properly, requiring Grail 32.
-- Updates Russian localization provided by dartraiden.
-- Adds support for Just Another Day in Tol Barad achievements when Grail provides that data (starting in Grail 32).
-- Adds the ability to display all quests from the search menu.
-- Updates Portuguese localization provided by andrewalves.
-- Corrects a rare problem interacting with LDB.
-- Adds the ability to display quest prerequisites filtering through flag quests when Grail provides the functionality.
-- 020 *** Requires Grail 33 or later ***
-- Corrects the problem where quests in the log that are no longer obtainable do not appear properly.
-- Adds the ability to show daily quests that are too high for the character as orange.
-- Adds Spanish localization provided by Trisquite.
-- Moves the Daily quests into the Other category.
-- Adds the experimental option to have a wide quest panel.
-- 021 *** Requires Grail 34 or later ***
-- Makes it so Mists of Pandaria reputations can be handled.
-- Makes it so starter Pandarens no longer cause LUA errors.
-- Corrects the problem where removing all TomTom waypoints was not clearing them from Wholly's memory.
-- Corrects locations for Wholly informational frames placed on QuestFrame in MoP beta.
-- Updates the tooltip to better indicate when breadcrumb quests are problems for unobtainable quests.
-- Adds the ability to display profession prerequisites (in the prerequisites section vice its own for the few that need it).
-- 022 *** Requires Grail 36 or later ***
-- Corrects the problem where NPC tooltips may not be updated until the world map is shown.
-- Changes how map pins are created so no work is done unless the WorldMapFrame is being shown.
-- Adds the ability to show that quests are Scenario or Legendary.
-- Changes the artwork on the right side of the wide panel.
-- Fixes the problem where the search panel was not attaching itself to the Wholly quest panel.
-- Updates some Korean localization provided by next96.
-- Makes it so Legendary quests appear orange while daily quests that are too high level appear dark blue.
-- Adds two new sort techniques, and also a tooltip for the sort button that describes the active sort technique.
-- Adds the ability to show an abbreviated quest count for each map area in the second scroll area of the wide quest panel, with optional live updates.
-- Fixes the problem where the Wholly world map button can appear above other frames.
-- Makes changing the selection in the first scroll view in the wide version of the Wholly quest panel, remove the selection in the second scroll view, thereby allowing the zone button to properly switch to the current zone.
-- Adds a Wholly quest tooltip for each of the quests in the Blizzard quest log.
-- Updates searching in the wide frame to select the newly sought term.
-- 023 Updates some Korean localization provided by next96.
-- Updates some German localization provided by DirtyHarryGermany.
-- Updates from French localization provided by akirra83.
-- Adds support to indicate account-wide quests, starting with Grail 037 use.
-- 024 *** Requires Grail 38 or later ***
-- Updates some Russian localization provided by dartraiden.
-- Adds support for quests that require skills as prerequisites, requiring Grail 038.
-- Updates some Italian localization provided by meygan.
-- 025 *** Requires Grail 39 or later ***
-- Adds support to display quest required friendship levels.
-- Fixes the problem where NPC tooltips would not be updated (from changed addon data) upon reloading the UI.
-- Adds support to display prerequisites using Grail's newly added capabilities for OR within AND.
-- Adds support for quests that require lack of spells or spells ever being cast as prerequisites.
-- Adds a filter for Scenario quests.
-- Delays the creation of the dropdown menu until it is absolutely needed to attempt to minimize the taint in Blizzard's code.
-- Fixes an issue where considering bugged quests unobtainable would not filter as unobtainable properly.
-- 026 *** Requires Grail 40 or later ***
-- Adds support for displaying special reputation requirements currently only used in Tillers quests.
-- 027 *** Requires Grail 41 or later ***
-- Adds the ability to display requirements for spells that have ever been experienced.
-- Adds the ability to specify amounts above the minimum reputation level as provided in Grail 041 and later.
-- Updates some Traditional Chinese localization provided by machihchung and BNSSNB.
-- Adds the ability to display requirements from groups of quests, both turning in and accepting the quests.
-- Changes spell prerequisite failures to color red vice yellow.
-- Changes preference "Display holiday quests always" to become a "World Events" filter instead, making World Events always shown in their categories.
-- Changes world events titles to be brown (unobtainable) if they are not being celebrated currently.
-- Adds the ability to Ctrl-click any quest in the Wholly quest panel to add waypoints for EVERY quest in the panel.
-- Corrects the incorrect rendering of the wide panel that can happen on some systems.
-- Adds keybindings for toggling display of map pins and quests that need prerequsites, daily quests, repeatable quests, completed, and unobtainable quests.
-- Adds the ability to display maximum reputation requirements that are quest prerequisites.
-- Changes the maximum line count for the tooltip before the second is created, to be able to be overridden by WhollyDatabase.maximumTooltipLines value if it exists.
-- Adds the ability to Ctrl-Shift-click any quest in the Wholly quest panel to toggle whether the quest is ignored.
-- Adds the ability to filter quests that are marked ignored.
-- 028 Switches to using Blizzard's IGNORED string instead of maintaining a localized version.
-- Adds basic support for putting pins on the Omega Map addon.
-- Changes the display of the requirement for a quest to ever have been completed to be green if true, and not the actual status of the quest.
-- Updates the TOC to support interface 50100.
-- Replaces the calls to Grail:IsQuestInQuestLog() with the status bit mask use since (1) we know whether the quest is in the log from its status, and (2) the call was causing Grail to use a lot of memory.
-- 029 Adds support for Grail's T code prerequisites.
-- Adds Simplified Chinese localization provided by Sunteya.
-- 030 Changes to use some newly added API Grail provides, *** requiring Grail 45 or later ***.
-- Updates some Spanish localization provided by Davidinmoral.
-- Updates some French localization provided by Noeudtribal.
-- Reputation values that are not to be exceeded now have "< " placed in front of the value name.
-- Allows the key binding for toggling open/close the Wholly panel to work in combat, though this function will need to be rebound once.
-- Fixes a map pin problem with the addon Mapster Enhanced.
-- Changes the faction prerequisites to color green, red or brown depending on whether the prerequisite is met, can be met with increase in reputation or is not obtainable because reputation is too high.
-- Adds support for Grail's new "Other" map area where oddball quests are located.
-- Adds support for Grail's new NPC location flags of created and mailbox.
-- Updates some Portuguese localization provided by marciobruno.
-- Adds Pet Battle achievements newly provided by Grail.
-- 031 Updates some German localization provided by bigx2.
-- Updates some Russian localization provided by dartraiden.
-- Adds ability to display F code prerequisite information.
-- 032 Fixes a problem where the Achievements were not working properly unless the UI was reloaded.
-- Adds the ability to display NPCs with prerequisites, *** requiring Grail 47 or later ***.
-- Makes the X code prerequisite display with ![Turned in].
-- Adds the ability to display phase prerequisite information.
-- Adds some Spanish translations based on input by Davidinmoral.
-- 033 Adds a hidden default shouldNotRestoreDirectionalArrows that can be present in the WhollyDatabase saved variables to not reinstate directional arrows upon reloading.
-- Adds the ability to show when a quest is obsolete (removed) or pending.
-- Adds support for displaying Q prerequisites and for displaying pet "spells".
-- Changes the technique used to display reputation changes in the tooltip, *** requiring Grail 048 or later ***.
-- Adds support for Grail's new representation of prerequisite information.
-- 034 Changes the tooltip code to allow for better displaying of longer entries.
-- Adds some Korean localization provided by next96.
-- Changes the Interface to 50300 to support the 5.3.0 Blizzard release.
-- Adds the ability to control the Grail-When loadable addon to record when quests are turned in.
-- Adds the ability to display when quests are turned in, and if the quest can be done more than once, the count of how many times done.
-- Updates support for Grail's new representation of prerequisite information.
-- 035 Updates Chinese localizations by Isjyzjl.
-- Adds the ability to show equipped iLvl prerequisites.
-- Corrects the display problem with OR within AND prerequisites introduced in version 034.
-- Makes opening the preferences work even if Wholly causes the preferences to be opened the first time in a session.
-- 036 Updates Russian localizations by dartraiden.
-- Removes the prerequisite population code in favor of API provided by Grail, requiring Grail 054 or later.
-- 037 Fixes the problem where tooltips do not appear in non-English clients properly.
-- 038 Fixes the problem where tooltips that show the currently equipped iLevel cause a Lua error.
-- Adds a preference to control whether tooltips appear in the Blizzard Quest Log.
-- Corrects the problem introdced by Blizzard in their 5.4.0 release when they decided to call API (IsForbidden()) before checking whether it exists.
-- Makes the attached Lightheaded frame work better with the wide panel mode.
-- Corrects a problem where a variable was leaking into the global namespace causing a prerequisite evaluation failure.
-- Attempts to make processing a little quicker by making local references to many Blizzard functions.
-- 039 Fixes the problem where tooltips for map pins were not appearing correctly.
-- Fixes a Lua error with the non-wide Wholly quest panel's drop down menu.
-- Fixes a Lua error when Wholly is used for the first time (or has no saved variables file).
-- Adds a preference to control display of weekly quests.
-- Adds a color for weekly quests.
-- Enables quest colors to be stored in player preferences so users can changed them, albeit manually.
-- Fixes the problem where the keybindings or buttons not on the preference panel would not work the first time without the preference panel being opened.
-- 040 Updates Russian localizations by dartraiden.
-- Adds a workaround to supress the panel that appears because of Blizzard's IsDisabledByParentalControls taint issue.
-- Updates Simplified Chinese localizations by dh0000.
-- 041 Adds the capability to set the colors for each of the quest types.
-- Changes to use newer way Grail does things.
-- 042 Updates Russian localizations by dartraiden.
-- Corrects the search function to use the new Grail quest structures.
-- Makes it so quests that are pending or obsolete do not appear when the option indicates unobtainable quests should not appear.
-- Changed display of profession requirements to only show failure as quest prerequisites now show profession requirements consistently.
-- 043 Handles Grail's change in AZ quests to handle pre- and post-063 implementation.
-- Adds the ability to mark quests with arbitrary tags.
-- 044 Corrects the Lua error that happens when attempting to tag a quest when no tag exists.
-- Fixes the map icons to look cleaner by Shenj.
-- Updates Russian localizations by vitasikxp.
-- 045 Updates various localizations by Nimhfree.
-- Updates to support changes in WoD that Grail supports. *** Requires Grail 065 or later. ***
-- Adds hidden WhollyDatabase preference ignoreReputationQuests that controls whether the Reputations section of quests appears in the Wholly panel.
-- Adds hidden WhollyDatabase preference displaysEmptyZones that controls whether map zones where no quests start are displayed.
-- Changes the Interface to 60000.
-- 046 Regenerates installation package.
-- 047 Updates Traditional Chinese localizations by machihchung.
-- Updates Portuguese localizations by DMoRiaM.
-- Updates French localizations by Dabeuliou;
-- Changes level for pins to display over Blizzard POIs.
-- Changes level for pins so yellow/grey pins display over other colors.
-- Changes default behavior to only show in tooltips faction changes available to the player, with hidden WhollyDatabase preference showsAllFactionReputations to override.
-- 048 Fixes a problem where Wholly does not load properly when TomTom is not present.
-- 049 Adds the ability to display quests that reward followers.
-- Updates some Korean localization provided by next96.
-- Updates some German localization provided by DirtyHarryGermany.
-- 050 Adds support for garrison building requirements.
-- Updates Russian localization provided by dartraiden.
-- Updates German localization provided by DirtyHarryGermany.
-- Updates both Chinese localizations provided by FreedomL10n.
-- 051 Adds support to control display of bonus objective, rare mob and treasure quests.
-- Adds Wholly tooltip to the QuestLogPopupDetailFrame.
-- Updates French localization provided by aktaurus.
-- Breaks out the preferences into multiple pages, making the hidden preferences no longer hidden.
-- Adds ability to control the display of legendary quests.
-- Updates Russian localization provided by dartraiden.
-- Changes the Interface to 60200.
-- 052 Adds support to display new group prerequisite information.
-- Corrects the issue where NPC tooltips were not showing drops that start quests.
-- Updates Spanish (Latin America) localization by Moixe.
-- Updates German localization by Mistrahw.
-- Updates Korean localization by mrgyver.
-- Updates Spanish (Spain) localization by Ertziano.
-- Corrects the problem where the drop down button in the Wholly window does not update the follower name properly.
-- Adds the ability to display quest rewards.
-- Splits up zone drop downs that are too large.
-- 053 Adds the ability to filter pet battle quests.
-- Adds the ability to display a quest as a bonus objective, rare mob, treasure or pet battle.
-- Adds the ability to have the quest filter work for NPC tooltips.
-- Updates German localization by Rikade.
-- Updates prerequisite displays to match new Grail features.
-- 054 Adds support for Adventure Guide
-- Updates German localization by potsrabe.
-- 055 Updates Traditional Chinese localization by gaspy10.
-- Updates Spanish (Spain) localization by ISBILIANS.
-- Corrects the problem where the map location is lost on UI reload.
-- 056 Updates German localization by pas06.
-- Adds the ability to filter quests based on PVP.
-- Adds the ability to support Grail's ability to indicate working buildings.
-- 057 Changes the ability to display quest rewards without the need for Grail to have the information.
-- Updates Traditional Chinese localization by gaspy10.
-- Adds the ability to display prerequisites for classes.
-- Updates Spanish (Spain) localization by Ehren_H.
-- Changes the Interface to 70000.
-- 058 Adds the ability to control the display of some Blizzard world map icons.
-- Fixes the placement of the Wholly world map button so it appears when the world map is opened.
-- Fixes presenting a window when attempting to load an on-demand addon fails.
-- 059 Fixes the problem where hiding Blizzard map POIs in combat causes Lua errors.
-- Adds the ability to control the display of Blizzard story line quest markers.
-- Updates French translation by coldragon78.
-- Updates Traditional Chinese localization by gaspy10.
-- 060 Adds the ability to control the display of World Quests, including a key binding.
-- Adds a Legion Repuation Changes section.
-- Fixes the problem where the coordinates would cause issues in instances.
-- 061 Adds ability to show "available" prerequisite used for world quests.
-- Updates German localization by Broesel01.
-- Updates Korean localization by netaras.
-- 062 Updates Spanish (Spain) localization by annthizze.
-- Adds support for Grail's ability to detect withering in NPCs and therefore quest requirements.
-- Updates Brazilian Portuguese localization.
-- Updates French localization.
-- Updates Korean localization.
-- Updates Spanish (Latin America) localization.
-- Adds support for world quests to have their own pin color.
-- 063 Updates the Interface to 70200.
-- Adds support for artifact level prerequisites.
-- Updates Spanish (Latin America) localization.
-- Updates French localization by sk8cravis.
-- Updates German localization by RobbyOGK.
-- 064 Updates the Interface to 70300.
-- Updates the use of PlaySound based on Blizzard's changes based on Gello's post.
-- 065 Corrects a timing problem where the notification frame might be sent events before initialized properly.
-- Adds a binding to toggle Loremaster quests.
-- Updates technique to hide flight points on Blizzard map.
-- Adds ability to hide dungeon entrances on Blizzard map.
-- Updates Russian localization from iGreenGO and EragonJKee.
-- Updates German localization from Adrinator and Haipia.
-- 066 *** Requires Grail 93 or later ***
-- Adds the ability to display prerequisites for Class Hall Missions.
-- Adds support for Allied races.
-- Updates Russian localization from mihaha_xienor.
-- Updates Spanish localization from raquetty.
--
-- Known Issues
--
-- The quest log quest colors are not updated live (when the panel is open).
--
-- UTF-8 file
--
local format, pairs, tContains, tinsert, tonumber = format, pairs, tContains, tinsert, tonumber
local ipairs, print, strlen, tremove, type = ipairs, print, strlen, tremove, type
local strsplit, strfind, strformat, strsub, strgmatch = strsplit, string.find, string.format, string.sub, string.gmatch
local bitband = bit.band
local tablesort = table.sort
local mathmax, mathmin, sqrt = math.max, math.min, math.sqrt
local CloseDropDownMenus = CloseDropDownMenus
local CreateFrame = CreateFrame
local GetAchievementInfo = GetAchievementInfo
local GetAddOnMetadata = GetAddOnMetadata
local GetBuildInfo = GetBuildInfo
local GetCurrentMapAreaID = GetCurrentMapAreaID
local GetCurrentMapDungeonLevel = GetCurrentMapDungeonLevel
local GetCursorPosition = GetCursorPosition
local GetCVarBool = GetCVarBool
local GetLocale = GetLocale
local GetPlayerMapPosition = GetPlayerMapPosition
local GetQuestID = GetQuestID
local GetRealZoneText = GetRealZoneText
local GetSpellInfo = GetSpellInfo
local GetTitleText = GetTitleText
local InCombatLockdown = InCombatLockdown
local InterfaceOptions_AddCategory = InterfaceOptions_AddCategory
local InterfaceOptionsFrame_OpenToCategory = InterfaceOptionsFrame_OpenToCategory
local IsControlKeyDown = IsControlKeyDown
local IsShiftKeyDown = IsShiftKeyDown
local LoadAddOn = LoadAddOn
local PlaySound = PlaySound
local SetMapByID = SetMapByID
local ToggleDropDownMenu = ToggleDropDownMenu
local UIDropDownMenu_AddButton = UIDropDownMenu_AddButton
local UIDropDownMenu_CreateInfo = UIDropDownMenu_CreateInfo
local UIDropDownMenu_GetText = UIDropDownMenu_GetText
local UIDropDownMenu_Initialize = UIDropDownMenu_Initialize
local UIDropDownMenu_JustifyText = UIDropDownMenu_JustifyText
local UIDropDownMenu_SetText = UIDropDownMenu_SetText
local UIDropDownMenu_SetWidth = UIDropDownMenu_SetWidth
local UnitIsPlayer = UnitIsPlayer
local GameTooltip = GameTooltip
local UIErrorsFrame = UIErrorsFrame
local UIParent = UIParent
local QuestFrame = QuestFrame
local WorldMapFrame = WorldMapFrame
local GRAIL = nil -- will be set in ADDON_LOADED
local directoryName, _ = ...
local versionFromToc = GetAddOnMetadata(directoryName, "Version")
local _, _, versionValueFromToc = strfind(versionFromToc, "(%d+)")
local Wholly_File_Version = tonumber(versionValueFromToc)
local requiredGrailVersion = 93
-- Set up the bindings to use the localized name Blizzard supplies. Note that the Bindings.xml file cannot
-- just contain the TOGGLEQUESTLOG because then the entry for Wholly does not show up. So, we use a version
-- named WHOLLY_TOGGLEQUESTLOG which maps to the same Global string, which works exactly as we want.
_G["BINDING_NAME_CLICK com_mithrandir_whollyFrameHiddenToggleButton:LeftButton"] = BINDING_NAME_TOGGLEQUESTLOG
--BINDING_NAME_WHOLLY_TOGGLEQUESTLOG = BINDING_NAME_TOGGLEQUESTLOG
BINDING_HEADER_WHOLLY = "Wholly"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Toggle map pins"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Toggle shows needs prerequisites"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Toggle shows dailies"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Toggle shows weeklies"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Toggle shows repeatables"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Toggle shows unobtainables"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Toggle shows completed"
BINDING_NAME_WHOLLY_TOGGLESHOWWORLDQUESTS = "Toggle shows World Quests"
BINDING_NAME_WHOLLY_TOGGLESHOWLOREMASTER = "Toggle shows Loremaster quests"
if nil == Wholly or Wholly.versionNumber < Wholly_File_Version then
local function trim(s)
local n = s:find"%S"
return n and s:match(".*%S", n) or ""
end
WhollyDatabase = {}
Wholly = {
cachedMapCounts = {},
cachedPanelQuests = {}, -- quests and their status for map area self.zoneInfo.panel.mapId
cachedPinQuests = {}, -- quests and their status for map area self.zoneInfo.pins.mapId
carboniteMapLoaded = false,
carboniteNxMapOpen = nil,
checkedGrailVersion = false, -- used so the actual check can be simpler
checkedNPCs = {},
checkingNPCTechniqueNew = true,
chooseClosestWaypoint = true,
clearNPCTooltipData = function(self)
self.checkedNPCs = {}
self.npcs = {}
self:_RecordTooltipNPCs(GetCurrentMapAreaID())
end,
color = {
['B'] = "FF996600", -- brown [unobtainable]
['C'] = "FF00FF00", -- green [completed]
['D'] = "FF0099CC", -- daily [repeatable]
['G'] = "FFFFFF00", -- yellow [can accept]
['H'] = "FF0000FF", -- blue [daily + too high level]
['I'] = "FFFF00FF", -- purple [in log]
['K'] = "FF66CC66", -- greenish [weekly]
['L'] = "FFFFFFFF", -- white [too high level]
['O'] = "FFFFC0CB", -- pink [world quest]
['P'] = "FFFF0000", -- red [does not meet prerequisites]
['R'] = "FF0099CC", -- daily [true repeatable - used for question mark in pins]
['U'] = "FF00FFFF", -- bogus default[unknown]
['W'] = "FF666666", -- grey [low-level can accept]
['Y'] = "FFCC6600", -- orange [legendary]
},
colorWells = {},
configurationScript1 = function(self)
Wholly:ScrollFrame_Update_WithCombatCheck()
Wholly.pinsNeedFiltering = true
Wholly:_UpdatePins()
Wholly:clearNPCTooltipData()
end,
configurationScript2 = function(self)
Wholly:_UpdatePins()
if Wholly.tooltip:IsVisible() and Wholly.tooltip:GetOwner() == Wholly.mapFrame then
Wholly.tooltip:ClearLines()
Wholly.tooltip:AddLine(Wholly.mapCountLine)
end
end,
configurationScript3 = function(self)
Wholly:_DisplayMapFrame(self:GetChecked())
end,
configurationScript4 = function(self)
Wholly:UpdateQuestCaches(true)
Wholly:ScrollFrame_Update_WithCombatCheck()
Wholly:_UpdatePins(true)
end,
configurationScript5 = function(self)
Wholly:UpdateBreadcrumb(Wholly)
end,
configurationScript7 = function(self)
Wholly:ScrollFrame_Update_WithCombatCheck()
end,
configurationScript8 = function(self)
Wholly:UpdateCoordinateSystem()
end,
configurationScript9 = function(self)
if WhollyDatabase.loadAchievementData then
-- bf@178.com
-- Grail:LoadAddOn("Grail-Achievements")
end
Wholly:_InitializeLevelOneData()
end,
configurationScript10 = function(self)
if WhollyDatabase.loadReputationData then
-- bf@178.com
-- Grail:LoadAddOn("Grail-Reputations")
end
Wholly:_InitializeLevelOneData()
end,
configurationScript11 = function(self)
Wholly:ToggleCurrentFrame()
end,
configurationScript12 = function(self)
Wholly:ScrollFrameTwo_Update()
end,
configurationScript13 = function(self)
end,
configurationScript14 = function(self)
if WhollyDatabase.loadDateData then
-- bf@178.com
-- Grail:LoadAddOn("Grail-When")
end
end,
configurationScript15 = function(self)
if WhollyDatabase.loadRewardData then
-- bf@178.com
-- Grail:LoadAddOn("Grail-Rewards")
end
end,
configurationScript16 = function(self)
WorldMapFrame_Update()
end,
configurationScript17 = function(self)
WorldMap_UpdateQuestBonusObjectives()
end,
coordinates = nil,
currentFrame = nil,
currentMaximumTooltipLines = 50,
currentTt = 0,
debug = true,
defaultMaximumTooltipLines = 50,
dropdown = nil,
dropdownLimit = 40,
dropdownText = nil,
dungeonTest = {},
eventDispatch = {
['PLAYER_REGEN_ENABLED'] = function(self, frame)
if self.combatScrollUpdate then
self.combatScrollUpdate = false
self:ScrollFrame_Update()
end
if self.combatHidePOI then
self.combatHidePOI = false
self:_HidePOIs()
end
frame:UnregisterEvent("PLAYER_REGEN_ENABLED")
end,
-- So in Blizzard's infinite wisdom it turns out that normal quests that just appear with the
-- quest giver post a QUEST_DETAIL event, unless they are quests like the Candy Bucket quests
-- which post a QUEST_COMPLETE event (even though they really are not complete until they are
-- accepted). And if there are more than one quest then QUEST_GREETING is posted, which also
-- is posted if one were to decline one of the selected ones to return to the multiple choice
-- frame again. Therefore, it seems three events are required to ensure the breadcrumb panel
-- is properly removed.
['QUEST_ACCEPTED'] = function(self, frame)
self:BreadcrumbUpdate(frame)
end,
['QUEST_COMPLETE'] = function(self, frame)
self:BreadcrumbUpdate(frame, true)
end,
['QUEST_DETAIL'] = function(self, frame)
self:BreadcrumbUpdate(frame)
end,
['QUEST_GREETING'] = function(self, frame)
com_mithrandir_whollyQuestInfoFrameText:SetText("")
com_mithrandir_whollyQuestInfoBuggedFrameText:SetText("")
com_mithrandir_whollyBreadcrumbFrame:Hide()
end,
['QUEST_LOG_UPDATE'] = function(self, frame) -- this is just here to record the tooltip information after a reload
frame:UnregisterEvent("QUEST_LOG_UPDATE")
-- This used to be in ADDON_LOADED but has been moved here because it was reported in 5.2.0
-- that the Achievements were not appearing properly, and this turned out to be caused by a
-- change that Blizzard seems to have done to make it so GetAchievementInfo() no longer has
-- a proper title in its return values at that point.
if WhollyDatabase.loadAchievementData then
self.configurationScript9()
end
self:_RecordTooltipNPCs(GetCurrentMapAreaID())
end,
['QUEST_PROGRESS'] = function(self, frame)
self:BreadcrumbUpdate(frame, true)
end,
['ADDON_LOADED'] = function(self, frame, arg1)
if "Wholly" == arg1 then
local WDB = WhollyDatabase
local Grail = Grail
local TomTom = TomTom
if nil == WDB.defaultsLoaded then
WDB = self:_LoadDefaults()
end
if nil == WDB.currentSortingMode then
WDB.currentSortingMode = 1
end
if nil == WDB.closedHeaders then
WDB.closedHeaders = {}
end
if nil == WDB.ignoredQuests then
WDB.ignoredQuests = {}
end
-- load all the localized quest names
-- bf@178.com
-- Grail:LoadAddOn("Grail-Quests-" .. Grail.playerLocale)
-- Setup the colors, only setting those that do not already exist
WDB.color = WDB.color or {}
for code, colorCode in pairs(self.color) do
WDB.color[code] = WDB.color[code] or colorCode
end
self:ConfigFrame_OnLoad(com_mithrandir_whollyConfigFrame, "Wholly")
self:ConfigFrame_OnLoad(com_mithrandir_whollyTitleAppearanceConfigFrame, Wholly.s.TITLE_APPEARANCE, "Wholly")
self:ConfigFrame_OnLoad(com_mithrandir_whollyWorldMapConfigFrame, Wholly.s.WORLD_MAP, "Wholly")
self:ConfigFrame_OnLoad(com_mithrandir_whollyWidePanelConfigFrame, Wholly.s.WIDE_PANEL, "Wholly")
self:ConfigFrame_OnLoad(com_mithrandir_whollyLoadDataConfigFrame, Wholly.s.LOAD_DATA, "Wholly")
self:ConfigFrame_OnLoad(com_mithrandir_whollyOtherConfigFrame, Wholly.s.OTHER_PREFERENCE, "Wholly")
-- Now to be nicer to those that have used the addon before the current
-- incarnation, newly added defaults will have their normal setting set
-- as appropriate.
if nil == WDB.version then -- first loaded prior to version 006, so default options added in 006
WDB.displaysHolidaysAlways = true -- version 006
WDB.updatesWorldMapOnZoneChange = true -- version 006
WDB.version = 6 -- just to make sure none of the other checks fails
end
if WDB.version < 7 then
WDB.showsInLogQuestStatus = true -- version 007
end
if WDB.version < 16 then
WDB.showsAchievementCompletionColors = true -- version 016
end
if WDB.version < 17 then
-- transform old values into new ones as appropriate
if WDB.showsDailyQuests then
WDB.showsRepeatableQuests = true
end
WDB.loadAchievementData = true
WDB.loadReputationData = true
end
if WDB.version < 27 then
WDB.showsHolidayQuests = true
end
if WDB.version < 34 then
WDB.loadDateData = true
end
if WDB.version < 38 then
WDB.displaysBlizzardQuestTooltips = true
end
if WDB.version < 39 then
WDB.showsWeeklyQuests = true
end
if WDB.version < 51 then
WDB.showsLegendaryQuests = true
end
if WDB.version < 53 then
WDB.showsPetBattleQuests = true
end
if WDB.version < 56 then
WDB.showsPVPQuests = true
end
if WDB.version < 60 then
WDB.showsWorldQuests = true
end
WDB.version = Wholly.versionNumber
if WDB.maximumTooltipLines then
self.currentMaximumTooltipLines = WDB.maximumTooltipLines
else
self.currentMaximumTooltipLines = self.defaultMaximumTooltipLines
end
self:_DisplayMapFrame(WDB.displaysMapFrame)
Grail:RegisterObserver("Status", self._CallbackHandler)
Grail:RegisterObserverQuestAbandon(self._CallbackHandler)
Grail:RegisterObserver("WORLD_MAP_UPDATE", self._WorldMapUpdateHandler)
-- Find out which "map area" is for the player's class
for key, value in pairs(Grail.classMapping) do
if Grail.playerClass == value then
self.playerClassMap = Grail.classToMapAreaMapping['C'..key]
end
end
self:UpdateCoordinateSystem() -- installs OnUpdate script appropriately
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:RegisterEvent("QUEST_ACCEPTED")
frame:RegisterEvent("QUEST_COMPLETE") -- to clear the breadcrumb frame
frame:RegisterEvent("QUEST_GREETING") -- to clear the breadcrumb frame
frame:RegisterEvent("QUEST_LOG_UPDATE") -- just to be able update tooltips after reload UI
frame:RegisterEvent("QUEST_PROGRESS")
frame:RegisterEvent("WORLD_MAP_UPDATE") -- this is for pins
frame:RegisterEvent("ZONE_CHANGED_NEW_AREA") -- this is for the panel
self:UpdateBreadcrumb() -- sets up registration of events for breadcrumbs based on user preferences
if not WDB.shouldNotRestoreDirectionalArrows then
self:_ReinstateDirectionalArrows()
end
if WDB.loadReputationData then
self.configurationScript10()
end
if WDB.loadDateData then
self.configurationScript14()
end
-- if WDB.loadRewardData then
-- self.configurationScript15()
-- end
-- We steal the TomTom:RemoveWaypoint() function because we want to override it ourselves
if TomTom and TomTom.RemoveWaypoint then
self.removeWaypointFunction = TomTom.RemoveWaypoint
TomTom.RemoveWaypoint = function(self, uid)
Wholly:_RemoveDirectionalArrows(uid)
Wholly.removeWaypointFunction(TomTom, uid)
end
end
if TomTom and TomTom.ClearAllWaypoints then
self.clearAllWaypointsFunction = TomTom.ClearAllWaypoints
TomTom.ClearAllWaypoints = function(self)
Wholly:_RemoveAllDirectionalArrows()
Wholly.clearAllWaypointsFunction(TomTom)
end
end
-- We steal Carbonite's Nx.TTRemoveWaypoint() function because we need it to clear our waypoints
if Nx and Nx.TTRemoveWaypoint then
self.carboniteRemoveWaypointFunction = Nx.TTRemoveWaypoint
Nx.TTRemoveWaypoint = function(self, uid)
Wholly:_RemoveDirectionalArrows(uid)
Wholly.carboniteRemoveWaypointFunction(Nx, uid)
end
end
self.easyMenuFrame = CreateFrame("Frame", "com_mithrandir_whollyEasyMenu", self.currentFrame, "UIDropDownMenuTemplate")
self.easyMenuFrame:Hide()
StaticPopupDialogs["com_mithrandir_whollyTagDelete"] = {
text = CONFIRM_COMPACT_UNIT_FRAME_PROFILE_DELETION,
button1 = ACCEPT,
button2 = CANCEL,
OnAccept = function(self, tagName)
WhollyDatabase.tags[tagName] = nil
Wholly:ScrollFrameTwo_Update()
end,
timeout = 0,
whileDead = true,
hideOnEscape = true,
preferredIndex = 3,
}
self:_InitializeLevelOneData()
if WDB.useWidePanel then self:ToggleCurrentFrame() end
-- Set up Carbonite support
if Nx and Nx.Map then
self.carboniteNxMapOpen = Nx.Map.Open
Nx.Map.Open = function()
self.carboniteNxMapOpen(Nx.Map)
-- this is done this way because NxMap1 does not exist until Nx.Map.Open is called
tinsert(self.supportedControlMaps, NxMap1)
tinsert(self.supportedMaps, NxMap1)
tinsert(self.supportedPOIMaps, NxMap1)
self.carboniteMapLoaded = true
end
end
-- Allow specific quest detection to work even with previous versions of Grail
-- that do not have the expected API.
if nil == Grail.IsBonusObjective then
Grail.IsBonusObjective = function(self, questId) return false end
end
if nil == Grail.IsRareMob then
Grail.IsRareMob = function(self, questId) return false end
end
if nil == Grail.IsTreasure then
Grail.IsTreasure = function(self, questId) return false end
end
if nil == Grail.IsPetBattle then
Grail.IsPetBattle = function(self, questId) return (bitband(Grail:CodeType(questId), Grail.bitMaskQuestPetBattle) > 0) end
end
-- Make it so we can populate the questId into the QuestLogPopupDetailFrame
self.QuestLogPopupDetailFrame_Show = QuestLogPopupDetailFrame_Show
QuestLogPopupDetailFrame_Show = function(questLogIndex)
local questId = select(8, GetQuestLogTitle(questLogIndex))
com_mithrandir_whollyPopupQuestInfoFrameText:SetText(questId)
Wholly.QuestLogPopupDetailFrame_Show(questLogIndex)
end
end
end,
['WORLD_MAP_UPDATE'] = function(self, frame)
Grail:_CoalesceDelayedNotification("WORLD_MAP_UPDATE", 0.1)
end,
['PLAYER_ENTERING_WORLD'] = function(self, frame)
-- It turns out that GetCurrentMapAreaID() and GetCurrentMapDungeonLevel() are not working properly unless the map system is accessed.
-- This would manifest itself when the UI is reloaded, and then the map location would be lost. By forcing the map to the current zone
-- the problem goes away.
SetMapToCurrentZone()
self.zoneInfo.map.mapId = GetCurrentMapAreaID()
self.zoneInfo.map.dungeonLevel = GetCurrentMapDungeonLevel()
self.zoneInfo.zone.mapId = self.zoneInfo.map.mapId
self.zoneInfo.zone.dungeonLevel = self.zoneInfo.map.dungeonLevel
self:UpdateCoordinateSystem()
end,
['ZONE_CHANGED_NEW_AREA'] = function(self, frame)
local mapWeSupportIsVisible = false
local WDB = WhollyDatabase
local Grail = Grail
-- Blizzard sends out WORLD_MAP_UPDATE before it sends out ZONE_CHANGED_NEW_AREA
-- and we really do not want both as we do our work here. So, we remove our own
-- delayed processing of WORLD_MAP_UPDATE in this case. Normal ones we want our
-- code to process, which are ones from the user clicking the map UI elements.
Grail:_RemoveDelayedNotification("WORLD_MAP_UPDATE")
-- Detect if any of the maps on which Wholly can put pins is currently visible because
-- if none are, we do not need to worry about switching maps back.
for _, mapFrame in pairs(self.supportedControlMaps) do
if mapFrame and mapFrame:IsVisible() then
mapWeSupportIsVisible = true
break
end
end
-- Blizzard default behavior is to leave the map alone if it is open, otherwise it will set
-- the map to the new zone. Wholly offers the ability to set the open map to the new zone
-- based on a preference value. Wholly is going to force the map to the new zone no matter
-- what, and then reset it to the previous zone if the user does not want Wholly to change
-- the open map.
SetMapToCurrentZone()
self.zoneInfo.zone.mapId = GetCurrentMapAreaID()
self.zoneInfo.zone.dungeonLevel = GetCurrentMapDungeonLevel()
if not WDB.updatesWorldMapOnZoneChange and mapWeSupportIsVisible then
SetMapByID(self.zoneInfo.map.mapId)
if 0 ~= self.zoneInfo.map.dungeonLevel then
SetDungeonMapLevel(self.zoneInfo.map.dungeonLevel)
end
end
self:UpdateQuestCaches(false, false, WDB.updatesPanelWhenZoneChanges, true)
if self.checkingNPCTechniqueNew then
-- When first entering a zone for the first time the NPCs need to be studied to see whether their
-- tooltips need to be modified with quest information.
local newMapId = self.zoneInfo.zone.mapId
if not self.checkedNPCs[newMapId] then
self:_RecordTooltipNPCs(newMapId)
end
end
-- Now update open tooltips showing our quest count data
if GameTooltip:IsVisible() then
if GameTooltip:GetOwner() == com_mithrandir_whollyFrameSwitchZoneButton then
GameTooltip:ClearLines()
GameTooltip:AddLine(Wholly.panelCountLine)
elseif GameTooltip:GetOwner() == self.ldbTooltipOwner then -- LibDataBroker tooltip
GameTooltip:ClearLines()
GameTooltip:AddLine("Wholly - " .. Wholly:_Dropdown_GetText() )
GameTooltip:AddLine(Wholly.panelCountLine)
elseif GameTooltip:GetOwner() == self.ldbCoordinatesTooltipOwner then -- LibDataBroker coordinates tooltip
GameTooltip:ClearLines()
local dungeonLevel = Wholly.zoneInfo.zone.dungeonLevel
local dungeonIndicator = (dungeonLevel > 0) and "["..dungeonLevel.."]" or ""
local mapAreaId = Wholly.zoneInfo.zone.mapId
local mapAreaName = Grail:MapAreaName(mapAreaId) or "UNKNOWN"
GameTooltip:AddLine(strformat("%d%s %s", mapAreaId, dungeonIndicator, mapAreaName))
end
elseif self.tooltip:IsVisible() then
if self.tooltip:GetOwner() == self.mapFrame then
self.tooltip:ClearLines()
self.tooltip:AddLine(Wholly.mapCountLine)
end
end
end,
},
filteredPanelQuests = {}, -- filtered table from cachedPanelQuests using current panel filters
filteredPinQuests = {}, -- filtered table from cachedPinQuests using current pin filters
initialUpdateProcessed = false,
lastWhich = nil,
lastPrerequisiteQuest = nil,
lastUpdate = 0,
ldbCoordinatesTooltipOwner = nil,
ldbTooltipOwner = nil,
levelOneCurrent = nil,
levelOneData = nil,
levelTwoCurrent = nil,
levelTwoData = nil,
mapFrame = nil, -- the world map frame that contains the checkbox to toggle pins
mapPinCount = 0,
maximumSearchHistory = 10,
npcs = {},
onlyAddingTooltipToGameTooltip = false,
pairedConfigurationButton = nil,-- configuration panel button that does the same thing as the world map button
pairedCoordinatesButton = nil, -- configuration panel button that does the same thing as the LDB coordinate button
panelCountLine = "",
pinsDisplayedLast = nil,
pinsNeedFiltering = false,
playerAliveReceived = false,
playerClassMap = nil,
preferenceButtons = {}, -- when each of the preference buttons gets created we put them in here to be able to access them if we want
previousX = 0,
previousY = 0,
receivedCalendarUpdateEventList = false,
pins = {}, -- the pins are contained in a structure that follows, where the first key is the parent frame of the pins contained
-- pins = {
-- [WorldMapDetailFrame] = {
-- [npcs] = {}, -- each key is the NPC id, and the value is the actual pin
-- [ids] = {}, -- each key is the id : NPC id, and the value is the actual pin
-- },
-- }
removeWaypointFunction = nil,
s = {
-- Start of actual strings that need localization.
['KILL_TO_START_FORMAT'] = "Kill to start [%s]",
['DROP_TO_START_FORMAT'] = "Drops %s to start [%s]",
['REQUIRES_FORMAT'] = "Wholly requires Grail version %s or later",
['MUST_KILL_PIN_FORMAT'] = "%s [Kill]",
['ESCORT'] = "Escort",
['BREADCRUMB'] = "Breadcrumb quests:",
['IS_BREADCRUMB'] = "Is breadcrumb quest for:",
['PREREQUISITES'] = "Prerequisites:",
['OTHER'] = "Other",
['SINGLE_BREADCRUMB_FORMAT'] = "Breadcrumb quest available",
['MULTIPLE_BREADCRUMB_FORMAT'] = "%d Breadcrumb quests available",
['WORLD_EVENTS'] = "World Events",
['REPUTATION_REQUIRED'] = "Reputation Required",
['REPEATABLE'] = "Repeatable",
['YEARLY'] = "Yearly",
['GRAIL_NOT_HAVE'] = "|cFFFF0000Grail does not have this quest|r",
['QUEST_ID'] = "Quest ID: ",
['REQUIRED_LEVEL'] = "Required Level",
['MAXIMUM_LEVEL_NONE'] = "None",
['QUEST_TYPE_NORMAL'] = "Normal",
['MAPAREA_NONE'] = "None",
['LOREMASTER_AREA'] = "Loremaster Area",
['FACTION_BOTH'] = "Both",
['CLASS_NONE'] = "None",
['CLASS_ANY'] = "Any",
['GENDER_NONE'] = "None",
['GENDER_BOTH'] = "Both",
['GENDER'] = "Gender",
['RACE_NONE'] = "None",
['RACE_ANY'] = "Any",
['HOLIDAYS_ONLY'] = "Available only during Holidays:",
['SP_MESSAGE'] = "Special quest never enters Blizzard quest log",
['INVALIDATE'] = "Invalidated by Quests:",
['OAC'] = "On acceptance complete quests:",
['OCC'] = "On completion of requirements complete quests:",
['OTC'] = "On turn in complete quests:",
['ENTER_ZONE'] = "Accepted when entering map area",
['WHEN_KILL'] = "Accepted when killing:",
['SEARCH_NEW'] = "New",
['SEARCH_CLEAR'] = "Clear",
['SEARCH_ALL_QUESTS'] = "All quests",
['NEAR'] = "Near",
['FIRST_PREREQUISITE'] = "First in Prerequisite Chain:",
['BUGGED'] = "|cffff0000*** BUGGED ***|r",
['IN_LOG'] = "In Log",
['TURNED_IN'] = "Turned in",
['EVER_COMPLETED'] = "Has ever been completed",
['ITEM'] = "Item",
['ITEM_LACK'] = "Item lack",
['ABANDONED'] = "Abandoned",
['NEVER_ABANDONED'] = "Never Abandoned",
['ACCEPTED'] = "Accepted",
['LEGENDARY'] = "Legendary",
['ACCOUNT'] = "Account",
['EVER_CAST'] = "Has ever cast",
['EVER_EXPERIENCED'] = "Has ever experienced",
['TAGS'] = "Tags",
['TAGS_NEW'] = "New Tag",
['TAGS_DELETE'] = "Delete Tag",
['MAP'] = "Map",
['PLOT'] = "Plot",
['BUILDING'] = "Building",
['BASE_QUESTS'] = "Base Quests",
['COMPLETED'] = "Completed",
['NEEDS_PREREQUISITES'] = "Needs prerequisites",
['UNOBTAINABLE'] = "Unobtainable",
['LOW_LEVEL'] = "Low-level",
['HIGH_LEVEL'] = "High level",
['TITLE_APPEARANCE'] = "Quest Title Appearance",
['PREPEND_LEVEL'] = "Prepend quest level",
['APPEND_LEVEL'] = "Append required level",
['REPEATABLE_COMPLETED'] = "Show whether repeatable quests previously completed",
['IN_LOG_STATUS'] = "Show status of quests in log",
['MAP_PINS'] = "Display map pins for quest givers",
['MAP_BUTTON'] = "Display button on world map",
['MAP_DUNGEONS'] = "Display dungeon quests in outer map",
['MAP_UPDATES'] = "Open world map updates when zones change",
['OTHER_PREFERENCE'] = "Other",
['PANEL_UPDATES'] = "Quest log panel updates when zones change",
['SHOW_BREADCRUMB'] = "Display breadcrumb quest information on Quest Frame",
['SHOW_LOREMASTER'] = "Show only Loremaster quests",
['ENABLE_COORDINATES'] = "Enable player coordinates",
['ACHIEVEMENT_COLORS'] = "Show achievement completion colors",
['BUGGED_UNOBTAINABLE'] = "Bugged quests considered unobtainable",
['BLIZZARD_TOOLTIP'] = "Tooltips appear on Blizzard Quest Log",
['WIDE_PANEL'] = "Wide Wholly Quest Panel",
['WIDE_SHOW'] = "Show",
['QUEST_COUNTS'] = "Show quest counts",
['LIVE_COUNTS'] = "Live quest count updates",
['LOAD_DATA'] = "Load Data",
['COMPLETION_DATES'] = "Completion Dates",
['ALL_FACTION_REPUTATIONS'] = "Show all faction reputations",
['RARE_MOBS'] = 'Rare Mobs',
['TREASURE'] = 'Treasure',
['EMPTY_ZONES'] = 'Display empty zones',
['IGNORE_REPUTATION_SECTION'] = 'Ignore reputation section of quests',
['RESTORE_DIRECTIONAL_ARROWS'] = 'Should not restore directional arrows',
['ADD_ADVENTURE_GUIDE'] = 'Display Adventure Guide quests in every zone',
['HIDE_WORLD_MAP_FLIGHT_POINTS'] = 'Hide flight points',
['HIDE_BLIZZARD_WORLD_MAP_TREASURES'] = 'Hide Blizzard treasures',
['HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES'] = 'Hide Blizzard bonus objectives',
['HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS'] = 'Hide Blizzard quest map pins',
['WORLD_QUEST'] = 'World Quests',
['HIDE_BLIZZARD_WORLD_MAP_DUNGEON_ENTRANCES'] = 'Hide Blizzard dungeon entrances',
},
supportedControlMaps = { WorldMapFrame, OmegaMapFrame, }, -- the frame to check for visibility
supportedMaps = { WorldMapDetailFrame, OmegaMapDetailFrame, }, -- the frame that is the parent of the pins
supportedPOIMaps = { WorldMapPOIFrame, OmegaMapPOIFrame, }, -- the frame to use to set pin level, index from supportedMaps used to determine which to use
tooltip = nil,
updateDelay = 0.5,
updateThreshold = 0.1,
versionNumber = Wholly_File_Version,
waypoints = {},
zoneInfo = {
["map"] = { ["mapId"] = 0, ["dungeonLevel"] = 0, }, -- this is what the world map is set to
["panel"] = { ["mapId"] = 0, ["dungeonLevel"] = 0, }, -- this is what the Wholly panel is displaying
["pins"] = { ["mapId"] = 0, ["dungeonLevel"] = 0, }, -- this is where the pins were last showing
["zone"] = { ["mapId"] = 0, ["dungeonLevel"] = 0, }, -- this is where the player is
},
_AchievementName = function(self, mapID)
local colorStart, colorEnd = "", ""
local Grail = Grail
local baseName = Grail:MapAreaName(mapID) or "UNKONWN"
if WhollyDatabase.showsAchievementCompletionColors then
local completed = Grail:AchievementComplete(mapID - Grail.mapAreaBaseAchievement)
colorStart = completed and "|cff00ff00" or "|cffffff00"
colorEnd = "|r"
end
return colorStart .. baseName .. colorEnd, baseName
end,
_AddDirectionalArrows = function(self, questTable, npcType, groupNumberToUse)
local TomTom = TomTom
if not TomTom or not TomTom.AddMFWaypoint then return end
if nil == questTable or nil == npcType then return end
local locations
local WDB = WhollyDatabase
local Grail = Grail
if not groupNumberToUse then
WDB.lastGrouping = WDB.lastGrouping or 0 -- initialize if needed
WDB.lastGrouping = WDB.lastGrouping + 1
WDB.waypointGrouping = WDB.waypointGrouping or {}
WDB.waypointGrouping[WDB.lastGrouping] = {}
end
for _, questId in pairs(questTable) do
if 'T' == npcType then
locations = Grail:QuestLocationsTurnin(questId)
else
locations = Grail:QuestLocationsAccept(questId)
end
if nil ~= locations then
local indexValue = questId .. npcType
local t = {}
for _, npc in pairs(locations) do
if nil ~= npc.x then
local npcName = self:_PrettyNPCString(npc.name, npc.kill, npc.realArea) or "***"
local uid = TomTom:AddMFWaypoint(npc.mapArea, npc.mapLevel, npc.x/100, npc.y/100,
{ persistent = false,
title = npcName .. " - " .. self:_QuestName(questId),
})
tinsert(t, uid)
end
end
if 0 < #t then
local actualGroup = groupNumberToUse or WDB.lastGrouping
self.waypoints[indexValue] = { grouping = actualGroup, uids = t }
if not groupNumberToUse then
tinsert(WDB.waypointGrouping[WDB.lastGrouping], indexValue)
end
if self.chooseClosestWaypoint and TomTom.SetClosestWaypoint and 1 < #t then
TomTom:SetClosestWaypoint()
end
end
end
end
if not groupNumberToUse and 0 == #(WDB.waypointGrouping[WDB.lastGrouping]) then
WDB.waypointGrouping[WDB.lastGrouping] = nil
WDB.lastGrouping = WDB.lastGrouping - 1
end
end,
-- This adds a line to the "current" tooltip, creating a new one as needed.
_AddLine = function(self, value, value2, texture)
if not self.onlyAddingTooltipToGameTooltip then
local tt = self.tt[self.currentTt]
if tt:NumLines() >= self.currentMaximumTooltipLines then
local previousTt = tt
self.currentTt = self.currentTt + 1
tt = self.tt[self.currentTt]
if nil == tt then
tt = CreateFrame("GameTooltip", "com_mithrandir_WhollyOtherTooltip"..self.currentTt, GameTooltip, "GameTooltipTemplate")
self.tt[self.currentTt] = tt
end
tt:SetOwner(previousTt, "ANCHOR_RIGHT")
tt:ClearLines()
end
if nil ~= value2 then
tt:AddDoubleLine(value, value2)
else
tt:AddLine(value)
end
if nil ~= texture then
tt:AddTexture(texture)
end
else
if nil ~= value2 then
GameTooltip:AddDoubleLine(value, value2)
else
GameTooltip:AddLine(value)
end
if nil ~= texture then
GameTooltip:AddTexture(texture)
end
end
end,
BreadcrumbClick = function(self, frame)
local Grail = Grail
local questId = self:_BreadcrumbQuestId()
self:_AddDirectionalArrows(Grail:AvailableBreadcrumbs(questId), 'A')
end,
BreadcrumbEnter = function(self, frame)
local Grail = Grail
GameTooltip:SetOwner(frame, "ANCHOR_RIGHT")
GameTooltip:ClearLines()
local questId = self:_BreadcrumbQuestId()
local breadcrumbs = Grail:AvailableBreadcrumbs(questId)
if nil ~= breadcrumbs then
GameTooltip:AddLine(self.s.BREADCRUMB)
for i = 1, #breadcrumbs do
GameTooltip:AddLine(self:_PrettyQuestString({ breadcrumbs[i], Grail:ClassificationOfQuestCode(breadcrumbs[i], nil, WhollyDatabase.buggedQuestsConsideredUnobtainable) }))
end
GameTooltip:Show()
end
end,
_BreadcrumbQuestId = function(self)
local questId = GetQuestID()
local questName = GetTitleText()
local Grail = Grail
-- Check the make sure the questId we are attempting to use makes sense with the title, otherwise
-- the questId is incorrect and we need to try to get it
if questName ~= self:_QuestName(questId) then
questId = Grail:QuestIdFromNPCOrName(questName, nil, true)
end
return questId
end,
BreadcrumbUpdate = function(self, frame, shouldHide)
local questId = self:_BreadcrumbQuestId()
com_mithrandir_whollyQuestInfoFrameText:SetText(questId)
self:UpdateBuggedText(questId)
if shouldHide then
com_mithrandir_whollyBreadcrumbFrame:Hide()
else
self:ShowBreadcrumbInfo()
end
end,
ButtonEnter = function(self, button, ...)
local Grail = Grail
local aliasQuestId = Grail:AliasQuestId(button.questId)
local questIdToUse = aliasQuestId or button.questId
self:_PopulateTooltipForQuest(button, questIdToUse, (questIdToUse ~= button.questId) and button.questId or nil)
if not button.secureProcessed and not InCombatLockdown() then
button:SetAttribute("type1", "click")
button:SetAttribute("clickbutton", Wholly)
button:SetAttribute("type2", "click")
button:SetAttribute("shift-type1", "click")
button:SetAttribute("ctrl-type1", "click")
button:SetAttribute("ctrl-shift-type1", "click")
button:SetAttribute("shift-type2", "click")
button:SetAttribute("alt-type1", "macro")
button.secureProcessed = true
else
-- TODO: Should attempt a delayed setting of this if not button.secureProcessed and InCombatLockdown()
end
if 'P' == button.statusCode then
local controlTable = { ["result"] = {}, ["preq"] = nil, ["lastIndexUsed"] = 0, ["doMath"] = true }
local lastIndexUsed = Grail._PreparePrerequisiteInfo(Grail:QuestPrerequisites(button.questId, true), controlTable)
self.lastPrerequisites = controlTable.result
-- local lastIndexUsed = Grail:_PreparePrerequisiteInfo(Grail:QuestPrerequisites(button.questId, true), self.lastPrerequisites, nil, 0, true)
local outputString
local started = false
local tempTable = {}
for questId, value in pairs(self.lastPrerequisites) do
tinsert(tempTable, questId)
outputString = ""
if not started then
self:_AddLine(" ")
self:_AddLine(self.s.FIRST_PREREQUISITE)
started = true
end
for key, value2 in pairs(value) do
if "" == outputString then
outputString = "("..value2
else
outputString = outputString..","..value2
end
end
outputString = outputString..") "
self:_AddLine(outputString..self:_PrettyQuestString({ questId, Grail:ClassificationOfQuestCode(questId, nil, WhollyDatabase.buggedQuestsConsideredUnobtainable) }), questId)
end
self.lastPrerequisites = started and tempTable or nil
else
self.lastPrerequisites = nil
end
for i = 1, self.currentTt do
self.tt[i]:Show()
end
end,
ButtonPostClick = function(self, button)
if button ~= self.clickingButton then print("Post click not from the same Pre click") end
self.clickingButton = nil
end,
ButtonPreClick = function(self, button)
self.clickingButton = button
end,
_WorldMapUpdateHandler = function(type, questId)
Wholly.zoneInfo.map.mapId = GetCurrentMapAreaID()
Wholly.zoneInfo.map.dungeonLevel = GetCurrentMapDungeonLevel()
Wholly:_UpdatePins()
end,
_CallbackHandler = function(type, questId)
local WDB = WhollyDatabase
Wholly:UpdateQuestCaches(true)
Wholly:_UpdatePins(true)
if WDB.showQuestCounts and WDB.liveQuestCountUpdates then
for mapId, ignoredCurrentString in pairs(Wholly.cachedMapCounts) do
local questsInMap = Wholly:_ClassifyQuestsInMap(mapId) or {}
Wholly.cachedMapCounts[mapId] = Wholly:_PrettyQuestCountString(questsInMap, nil, nil, true)
end
Wholly:ScrollFrameTwo_Update()
end
end,
_CheckNPCTooltip = function(tooltip)
if (not UnitIsPlayer("mouseover") or true) then
-- check if this npc drops a quest item
local id = Grail:GetNPCId(false, true) -- only "mouseover" will be used
local qs = id and Wholly.npcs[tonumber(id)] or nil
if nil ~= qs then
for _, questId in pairs(qs) do
if Grail:CanAcceptQuest(questId) then
local _, kindsOfNPC = Grail:IsTooltipNPC(id)
if nil ~= kindsOfNPC then
for i = 1, #(kindsOfNPC), 1 do
local tooltipMessage = nil
if kindsOfNPC[i][1] == Grail.NPC_TYPE_KILL then
tooltipMessage = format(Wholly.s.KILL_TO_START_FORMAT, Wholly:_QuestName(questId))
elseif kindsOfNPC[i][1] == Grail.NPC_TYPE_DROP then
if Wholly:_DroppedItemMatchesQuest(kindsOfNPC[i][2], questId) then
tooltipMessage = format(Wholly.s.DROP_TO_START_FORMAT, Grail:NPCName(kindsOfNPC[i][2]), Wholly:_QuestName(questId))
end
end
if nil ~= tooltipMessage then
local leftStr = format("|TInterface\\MINIMAP\\ObjectIcons:0:0:0:0:128:128:16:32:16:32|t %s", tooltipMessage)
tooltip:AddLine(leftStr);
end
end
end
tooltip:Show();
end
end
end
end
end,
---
-- Gets all the quests in the map area, then classifies them based on the current player.
_ClassifyQuestsInMap = function(self, mapId)
local retval = nil
if nil ~= mapId and tonumber(mapId) then
mapId = tonumber(mapId)
local displaysHolidayQuestsAlways = false
local WDB = WhollyDatabase
local showsLoremasterOnly = WDB.showsLoremasterOnly
if mapId >= Grail.mapAreaBaseHoliday and mapId <= Grail.mapAreaMaximumHoliday then displaysHolidayQuestsAlways = true end
retval = {}
local questsInMap = Grail:QuestsInMap(mapId, WDB.displaysDungeonQuests, showsLoremasterOnly) or {}
for _,questId in pairs(questsInMap) do
tinsert(retval, { questId, Grail:ClassificationOfQuestCode(questId, displaysHolidayQuestsAlways, WDB.buggedQuestsConsideredUnobtainable) })
end
if WDB.shouldAddAdventureGuideQuests then
local questsInAdventureGuide = Grail:QuestsInMap(1, WDB.displaysDungeonQuests, showsLoremasterOnly) or {}
for _,questId in pairs(questsInAdventureGuide) do
if not tContains(questsInMap, questId) then
tinsert(retval, { questId, Grail:ClassificationOfQuestCode(questId, displaysHolidayQuestsAlways, WDB.buggedQuestsConsideredUnobtainable) })
end
end
end
end
return retval
end,
-- Shift right-click : Tag quest
-- Shift control-click : Ignore quest
-- Shift left-click : Toggle LightHeaded (does nothing if LightHeaded not installed)
-- Control click : Directional arrows for all quests in "map area"
-- Right-click : Directional arrows for questgivers for first in prerequisites, or directional arrows to turn-in NPCs if no prerequisites
-- Left-click : Directional arrows for questgivers
-- This is named this way with this function signature because it is called from the SecureActionButtonTemplate exactly like this.
Click = function(self, leftOrRight)
local TomTom = TomTom
if IsShiftKeyDown() and "RightButton" == leftOrRight then
self:_TagProcess(self.clickingButton.questId)
return
end
if IsShiftKeyDown() and IsControlKeyDown() then
self:ToggleIgnoredQuest()
self.configurationScript1()
return
end
if IsShiftKeyDown() then
if LightHeaded then self:ToggleLightHeaded() end
return
end
if not TomTom or not TomTom.AddMFWaypoint then return end -- technically _AddDirectionalArrows does this check, but why do the extra work if not needed?
if IsControlKeyDown() then
local questsInMap = self.filteredPanelQuests
local numEntries = #questsInMap
for i = 1, numEntries do
self:_AddDirectionalArrows({questsInMap[i][1]}, 'A')
end
return
end
local button = self.clickingButton
local questsToUse = {button.questId}
local npcType = 'A'
if "RightButton" == leftOrRight then
if nil ~= self.lastPrerequisites then
questsToUse = self.lastPrerequisites
else
npcType = 'T'
end
end
self:_AddDirectionalArrows(questsToUse, npcType)
end,
_ColorCodeFromInfo = function(self, colorCode, r, g, b, a)
local aString = Grail:_HexValue(a * 255, 2)
local rString = Grail:_HexValue(r * 255, 2)
local gString = Grail:_HexValue(g * 255, 2)
local bString = Grail:_HexValue(b * 255, 2)
WhollyDatabase.color[colorCode] = aString .. rString .. gString .. bString
end,
-- This takes the colorCode value "AARRGGBB" and returns the r, g, b, a as decimals
_ColorInfoFromCode = function(self, colorCode)
local colorString = WhollyDatabase.color[colorCode]
local a = tonumber(strsub(colorString, 1, 2), 16) / 255
local r = tonumber(strsub(colorString, 3, 4), 16) / 255
local g = tonumber(strsub(colorString, 5, 6), 16) / 255
local b = tonumber(strsub(colorString, 7, 8), 16) / 255
return r, g, b, a
end,
-- This will update all the preference text that have associated color codes
_ColorUpdateAllPreferenceText = function(self)
for i = 1, #self.configuration.Wholly do
if nil ~= self.configuration.Wholly[i][6] then
self.colorWells[i].swatch:SetVertexColor(self:_ColorInfoFromCode(self.configuration.Wholly[i][6]))
self:_ColorUpdatePreferenceText(i, "Wholly")
end
end
end,
-- This will set the text for the preference
_ColorUpdatePreferenceText = function(self, configIndex, panelName)
local button = self.preferenceButtons[self.configuration[panelName][configIndex][2]]
local colorCode
if nil ~= button then
local colorStart, colorEnd = "", ""
colorCode = self.configuration[panelName][configIndex][6]
if nil ~= colorCode then
colorStart = "|c" .. WhollyDatabase.color[colorCode]
colorEnd = "|r"
end
_G[button:GetName().."Text"]:SetText(colorStart .. self.configuration[panelName][configIndex][1] .. colorEnd)
end
end,
-- This creates a color well associated with the colorCode
_ColorWell = function(self, configIndex, panel)
local well = CreateFrame("Button", nil, panel)
well:EnableMouse(true)
well:SetHeight(16)
well:SetWidth(16)
well:SetScript("OnClick", Wholly._ColorWell_OnClick)
well.configIndex = configIndex
local swatch = well:CreateTexture(nil, "OVERLAY")
swatch:SetWidth(16)
swatch:SetHeight(16)
swatch:SetTexture("Interface\\ChatFrame\\ChatFrameColorSwatch")
swatch:SetPoint("LEFT")
well.swatch = swatch
return well
end,
_ColorWell_Callback = function(self, frame, r, g, b, a, processingAlpha)
frame.swatch:SetVertexColor(r, g, b, a)
self:_ColorCodeFromInfo(self.configuration.Wholly[frame.configIndex][6], r, g, b, a)
self:_ColorUpdatePreferenceText(frame.configIndex, "Wholly")
end,
_ColorWell_OnClick = function(frame)
HideUIPanel(ColorPickerFrame)
ColorPickerFrame:SetFrameStrata("FULLSCREEN_DIALOG")
ColorPickerFrame.func = function()
local r, g, b = ColorPickerFrame:GetColorRGB()
local a = 1 - OpacitySliderFrame:GetValue()
Wholly:_ColorWell_Callback(frame, r, g, b, a)
end
ColorPickerFrame.hasOpacity = true
ColorPickerFrame.opacityFunc = function()
local r, g, b = ColorPickerFrame:GetColorRGB()
local a = 1 - OpacitySliderFrame:GetValue()
Wholly:_ColorWell_Callback(frame, r, g, b, a, true)
end
local r, g, b, a = Wholly:_ColorInfoFromCode(Wholly.configuration.Wholly[frame.configIndex][6])
ColorPickerFrame.opacity = 1 - a
ColorPickerFrame:SetColorRGB(r, g, b)
ColorPickerFrame.cancelFunc = function()
Wholly:_ColorWell_Callback(frame, r, g, b, a, true)
end
ShowUIPanel(ColorPickerFrame)
end,
ConfigFrame_OnLoad = function(self, panel, panelName, panelParentName)
panel.name = panelName
if nil ~= panelParentName then
panel.parent = panelParentName
end
panel:Hide()
InterfaceOptions_AddCategory(panel)
local parent = panel:GetName()
local indentLevel
local lineLevel = 0
local button
local offset
local wellOffset
if not self.checkedGrailVersion then
local errorMessage = format(self.s.REQUIRES_FORMAT, requiredGrailVersion)
button = panel:CreateFontString(nil, "OVERLAY", "GameFontNormal")
offset = -5
indentLevel = 0
lineLevel = lineLevel + 1
button:SetPoint("TOPLEFT", panel, "TOPLEFT", (indentLevel * 200) + 8, (lineLevel * -20) + 10 + offset)
button:SetText(errorMessage)
return
end
for i = 1, #self.configuration[panel.name] do
if self.configuration[panel.name][i][2] then
button = CreateFrame("CheckButton", parent.."Button"..i, panel, "InterfaceOptionsCheckButtonTemplate")
offset = 0
else
button = panel:CreateFontString(nil, "OVERLAY", "GameFontNormal")
offset = -5
end
if self.configuration[panel.name][i][4] then
indentLevel = indentLevel + 1
else
indentLevel = 0
lineLevel = lineLevel + 1
end
wellOffset = 0
if self.configuration[panel.name][i][6] then
local well = self:_ColorWell(i, panel)
well.swatch:SetVertexColor(self:_ColorInfoFromCode(self.configuration[panel.name][i][6]))
well:ClearAllPoints()
well:SetPoint("TOPLEFT", panel, "TOPLEFT", (indentLevel * 200) + 6 , (lineLevel * -22) + 14 + offset)
well:Show()
self.colorWells[i] = well
end
if self.configuration[panel.name][i][2] then wellOffset = 12 end
button:SetPoint("TOPLEFT", panel, "TOPLEFT", (indentLevel * 200) + 8 + wellOffset, (lineLevel * -22) + 18 + offset)
if self.configuration[panel.name][i][2] then
button:SetScript("OnClick", function(self)
WhollyDatabase[Wholly.configuration[panel.name][i][2]] = self:GetChecked()
Wholly[Wholly.configuration[panel.name][i][3]](self)
end)
if nil ~= self.configuration[panel.name][i][5] then
self[self.configuration[panel.name][i][5]] = button
end
self.preferenceButtons[self.configuration[panel.name][i][2]] = button
self:_ColorUpdatePreferenceText(i, panel.name)
else
button:SetText(self.configuration[panel.name][i][1])
end
end
if nil == panelParentName then
button = panel:CreateFontString(nil, "OVERLAY", "GameFontNormal")
button:SetPoint("TOPLEFT", panel, "TOPLEFT", 6, -587)
button:SetText(COLORS .. ':')
local previousButton = button
button = CreateFrame("Button", parent .. "ColorReset", panel, "UIPanelButtonTemplate")
button:SetWidth(150)
button:SetPoint("TOPLEFT", previousButton, "TOPRIGHT", 8, 5)
_G[button:GetName().."Text"]:SetText(RESET_TO_DEFAULT)
button:SetScript("OnClick", function(self) Wholly:_ResetColors() end)
end
self:ConfigFrame_OnShow(panel)
end,
ConfigFrame_OnShow = function(self, panel)
if not self.checkedGrailVersion then return end
local parent = panel:GetName()
for i = 1, #self.configuration[panel.name] do
if self.configuration[panel.name][i][2] then
_G[parent.."Button"..i]:SetChecked(WhollyDatabase[self.configuration[panel.name][i][2]])
end
end
end,
_DisplayMapFrame = function(self, shouldDisplay)
if shouldDisplay then self.mapFrame:Show() else self.mapFrame:Hide() end
end,
_Distance = function(self, parentFrame, x1, y1, x2, y2)
local distRatio = parentFrame:GetHeight() / parentFrame:GetWidth();
return sqrt( (x1 - x2)^2 + ((y1 - y2)/distRatio)^2 );
end,
_Dropdown_AddButton = function(self, level, hasArrow, item)
local info = UIDropDownMenu_CreateInfo()
info.hasArrow = hasArrow
info.notCheckable = true
info.text = item.displayName
info.value = item
if not hasArrow then
info.func = item.f -- default to any menu provided function
if nil == info.func then
info.func = function()
Wholly.zoneInfo.panel.mapId = item.mapID
Wholly.zoneInfo.panel.dungeonLevel = 0
Wholly._ForcePanelMapArea(Wholly)
CloseDropDownMenus()
end
end
end
UIDropDownMenu_AddButton(info, level)
end,
_Dropdown_Create = function(self)
local f = com_mithrandir_whollyFrame
self.dropdown = CreateFrame("Button", f:GetName().."ZoneButton", f, "UIDropDownMenuTemplate")
UIDropDownMenu_Initialize(self.dropdown, self.Dropdown_Initialize) -- took away "MENU" because no show with it
self.dropdown:SetPoint("TOPLEFT", f, "TOPLEFT", 60, -40)
UIDropDownMenu_SetWidth(self.dropdown, 240, 0)
UIDropDownMenu_JustifyText(self.dropdown, "LEFT")
-- By default, the dropdown has it clicking work with the little button on the right. This makes it work for the whole button:
self.dropdown:SetScript("OnClick", function(self) ToggleDropDownMenu(nil, nil, Wholly.dropdown) PlaySound(PlaySoundKitID and "igMainMenuOptionCheckBoxOn" or 856) end)
end,
_Dropdown_GetText = function(self)
if nil ~= self.dropdown then
self.dropdownText = UIDropDownMenu_GetText(self.dropdown)
end
return self.dropdownText
end,
Dropdown_Initialize = function(self, level)
local UIDROPDOWNMENU_MENU_VALUE = UIDROPDOWNMENU_MENU_VALUE
level = level or 1
if 1 == level then
for k, v in pairs(Wholly.levelOneData) do
Wholly:_Dropdown_AddButton(level, true, v)
end
elseif 2 == level then
local children = UIDROPDOWNMENU_MENU_VALUE["children"]
if nil ~= children then
for k, v in pairs(children) do
Wholly:_Dropdown_AddButton(level, true, v)
end
else
Wholly:_SetLevelOneCurrent(UIDROPDOWNMENU_MENU_VALUE)
Wholly:_InitializeLevelTwoData()
for k, v in pairs(Wholly.levelTwoData) do
Wholly:_Dropdown_AddButton(level, false, v)
end
end
else -- assumption is level 3 which is the highest we have
Wholly:_SetLevelOneCurrent(UIDROPDOWNMENU_MENU_VALUE)
Wholly:_InitializeLevelTwoData()
for k, v in pairs(Wholly.levelTwoData) do
Wholly:_Dropdown_AddButton(level, false, v)
end
end
end,
_Dropdown_SetText = function(self, newTitle)
self.dropdownText = newTitle
if nil ~= self.dropdown then
UIDropDownMenu_SetText(self.dropdown, self.dropdownText)
end
end,
_DroppedItemMatchesQuest = function(self, dropNPCCode, matchingQuestId)
local retval = true
dropNPCCode = tonumber(dropNPCCode)
matchingQuestId = tonumber(matchingQuestId)
if nil ~= dropNPCCode and nil ~= matchingQuestId then
local questCodes = Grail:AssociatedQuestsForNPC(dropNPCCode)
if nil ~= questCodes then
retval = false
for _, questId in pairs(questCodes) do
if questId == matchingQuestId then
retval = true
end
end
end
end
return retval
end,
_FilterQuests = function(self, forPanel)
local f = forPanel and self.filteredPanelQuests or self.filteredPinQuests
f = {}
local questsInMap = forPanel and self.cachedPanelQuests or self.cachedPinQuests
local shouldAdd, statusCode, status
-- We want to be able to force display of quests that are class or profession specific
-- unless they are associated with the player. In that case, the display of the quests
-- obeys the same rules as the quests in a normal map area.
local shouldForce = false
local currentMapId = self.zoneInfo.panel.mapId
if nil ~= currentMapId and currentMapId >= Grail.mapAreaBaseClass and currentMapId <= Grail.mapAreaMaximumProfession then
shouldForce = true
if self.playerClassMap == currentMapId then shouldForce = false end
if currentMapId >= Grail.mapAreaBaseProfession then
for key,value in pairs(Grail.professionToMapAreaMapping) do
if value == currentMapId then
local actualKey = key:sub(2, 2)
if Grail:ProfessionExceeds(actualKey, 1) then -- indicates the profession is known
shouldForce = false
end
end
end
end
end
local repuationQuest = false
if nil ~= currentMapId and currentMapId > Grail.mapAreaBaseReputation and currentMapId <= Grail.mapAreaMaximumReputation then
reputationQuest = true
end
local questId
local WDB = WhollyDatabase
local dealingWithHolidays = nil ~= currentMapId and currentMapId >= Grail.mapAreaBaseHoliday and currentMapId <= Grail.mapAreaMaximumHoliday and true or false
local holidayModification = dealingWithHolidays and (Grail.bitMaskHoliday + Grail.bitMaskAncestorHoliday) or 0
local buggedModification = WDB.buggedQuestsConsideredUnobtainable and Grail.bitMaskBugged or 0
for i = 1, #questsInMap do
statusCode = questsInMap[i][2]
questId = questsInMap[i][1]
status = Grail:StatusCode(questId)
shouldAdd = false
local questObsoleteOrPending = (Grail:IsQuestObsolete(questId) or Grail:IsQuestPending(questId))
if Grail:CanAcceptQuest(questId, false, WDB.showsQuestsThatFailPrerequsites, true, true, dealingWithHolidays, WDB.buggedQuestsConsideredUnobtainable) or
(WDB.showsCompletedQuests and Grail:IsQuestCompleted(questId) and 0 == bitband(status, Grail.bitMaskQuestFailureWithAncestor - (Grail.bitMaskAncestorReputation + Grail.bitMaskReputation) - holidayModification)) or
0 < bitband(status, Grail.bitMaskInLog) or
(WDB.showsUnobtainableQuests and (bitband(status, Grail.bitMaskQuestFailureWithAncestor - holidayModification + buggedModification) > 0 or questObsoleteOrPending)) then
shouldAdd = true
end
shouldAdd = shouldAdd and self:_FilterQuestsBasedOnSettings(questId, status, dealingWithHolidays)
if not forPanel then
if 'I' == statusCode or 'C' == statusCode then shouldAdd = false end
if 'B' == statusCode then shouldAdd = false end
end
if shouldAdd then
tinsert(f, questsInMap[i])
end
end
if forPanel then self.filteredPanelQuests = f else self.filteredPinQuests = f end
if not forPanel then
self.mapCountLine = self:_PrettyQuestCountString(questsInMap, #(self.filteredPinQuests), true)
else
self.panelCountLine = self:_PrettyQuestCountString(questsInMap, #(self.filteredPanelQuests))
if currentMapId and 0 ~= currentMapId then
self.cachedMapCounts[currentMapId] = self:_PrettyQuestCountString(questsInMap, nil, nil, true)
end
end
end,
-- Returns false if the settings say this should not be used
_FilterQuestsBasedOnSettings = function(self, questId, status, dealingWithHolidays)
status = status or Grail:StatusCode(questId)
local WDB = WhollyDatabase
if not WDB.showsRepeatableQuests and Grail:IsRepeatable(questId) then return false end
if not WDB.showsDailyQuests and Grail:IsDaily(questId) then return false end
if not WDB.showsQuestsInLog and 0 < bitband(status, Grail.bitMaskInLog) then return false end
if not WDB.showsLowLevelQuests and Grail:IsLowLevel(questId) then return false end
if not WDB.showsHighLevelQuests and bitband(status, Grail.bitMaskLevelTooLow) > 0 then return false end
if not WDB.showsScenarioQuests and Grail:IsScenario(questId) then return false end
if not WDB.showsHolidayQuests and not dealingWithHolidays and Grail:CodeHoliday(questId) ~= 0 then return false end
if not WDB.showsIgnoredQuests and self:_IsIgnoredQuest(questId) then return false end
if not WDB.showsWeeklyQuests and Grail:IsWeekly(questId) then return false end
if not WDB.showsUnobtainableQuests and (Grail:IsQuestObsolete(questId) or Grail:IsQuestPending(questId)) then return false end
if not WDB.showsBonusObjectiveQuests and Grail:IsBonusObjective(questId) then return false end
if not WDB.showsRareMobQuests and Grail:IsRareMob(questId) then return false end
if not WDB.showsTreasureQuests and Grail:IsTreasure(questId) then return false end
if not WDB.showsLegendaryQuests and Grail:IsLegendary(questId) then return false end
if not WDB.showsPetBattleQuests and Grail:IsPetBattle(questId) then return false end
if not WDB.showsPVPQuests and Grail:IsPVP(questId) then return false end
if not WDB.showsWorldQuests and Grail:IsWorldQuest(questId) then return false end
return true
end,
_FilterPanelQuests = function(self)
self:_FilterQuests(true)
end,
_FilterPinQuests = function(self)
self:_FilterQuests(false)
end,
_ForcePanelMapArea = function(self, ignoreForcingSelection)
local currentMapId = self.zoneInfo.panel.mapId
local mapAreaName = Grail:MapAreaName(currentMapId) or GetRealZoneText() -- default to something if we do not support the zone
if nil ~= mapAreaName then self:_Dropdown_SetText(mapAreaName) end
self.cachedPanelQuests = self:_ClassifyQuestsInMap(currentMapId) or {}
self:ScrollFrame_Update_WithCombatCheck()
if not ignoreForcingSelection then
local soughtIndex = Grail.continentIndexMapping[Grail.mapToContinentMapping[currentMapId]]
if nil == soughtIndex then -- assume it is a dungeon
for mapId, continentTable in pairs(Grail.continents) do
if tContains(continentTable.dungeons, currentMapId) then
soughtIndex = 10 + Grail.continentIndexMapping[mapId]
end
-- for i = 1, #(Grail.continents) do
-- if tContains(Grail.continents[i].dungeons, currentMapId) then
-- soughtIndex = 10 + i
-- end
end
end
if nil == soughtIndex then -- assume it is "Other"
if tContains(Grail.otherMapping, currentMapId) then
soughtIndex = 71
end
end
if nil ~= soughtIndex then
for i, v in pairs(self.levelOneData) do
if v.index == soughtIndex then
self:_SetLevelOneCurrent(v)
end
end
else
self:_SetLevelOneCurrent(nil)
end
self:ScrollFrameOne_Update()
-- Now we create a bogus entry for the level two data
self:_SetLevelTwoCurrent({ displayName = mapAreaName, mapID = currentMapId })
self:ScrollFrameTwo_Update()
end
end,
_GetMousePosition = function(self, parentFrame)
local left, top = parentFrame:GetLeft(), parentFrame:GetTop();
local width, height = parentFrame:GetWidth(), parentFrame:GetHeight();
local scale = parentFrame:GetEffectiveScale();
local x, y = GetCursorPosition();
local cx = (x/scale - left) / width;
local cy = (top - y/scale) / height;
return mathmin(mathmax(cx, 0), 1), mathmin(mathmax(cy, 0), 1);
end,
_GetPin = function(self, npcId, parentFrame)
self:_PinFrameSetup(parentFrame)
if nil ~= self.pins[parentFrame]["npcs"][npcId] then return self.pins[parentFrame]["npcs"][npcId] end
self.mapPinCount = self.mapPinCount + 1
local pin = CreateFrame("Frame", "com_mithrandir_WhollyMapPin"..self.mapPinCount, parentFrame);
pin.originalParentFrame = parentFrame
pin.npcId = npcId
pin:SetWidth(16);
pin:SetHeight(16);
pin:EnableMouse(true);
pin:SetScript("OnEnter", function(pin) self:ShowTooltip(pin) end)
pin:SetScript("OnLeave", function() self:_HideTooltip() end)
pin.SetType = function(self, texType)
if self.texType == texType then return end -- don't need to make changes
local colorString = WhollyDatabase.color[texType]
local r = tonumber(strsub(colorString, 3, 4), 16) / 255
local g = tonumber(strsub(colorString, 5, 6), 16) / 255
local b = tonumber(strsub(colorString, 7, 8), 16) / 255
self.texture = self:CreateTexture()
-- WoD beta does not allow custom textures so we go back to the old way
if not Grail.existsWoD or Grail.blizzardRelease >= 18663 then
if 'R' == texType then
self.texture:SetTexture("Interface\\Addons\\Wholly\\question")
else
self.texture:SetTexture("Interface\\Addons\\Wholly\\exclamation")
end
self.texture:SetVertexColor(r, g, b)
else
local width, height = 0.125, 0.125
self.texture:SetTexture("Interface\\MINIMAP\\ObjectIcons.blp")
self.texture:SetDesaturated(false)
self.texture:SetVertexColor(1, 1, 1)
if texType == "D" then
self.texture:SetTexCoord(3*width, 4*width, 1*height, 2*height);
elseif texType == "R" then
self.texture:SetTexCoord(4*width, 5*width, 1*height, 2*height);
elseif texType == "P" then
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
self.texture:SetVertexColor(1.0, 0.0, 0.0);
elseif texType == "O" then
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
self.texture:SetVertexColor(1.0, 192/255, 203/255);
elseif texType == "Y" then
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
self.texture:SetVertexColor(12/15, 6/15, 0.0);
elseif texType == "H" then
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
self.texture:SetVertexColor(0.0, 0.0, 1.0);
elseif texType == "W" then
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
self.texture:SetVertexColor(0.75, 0.75, 0.75);
elseif texType == "L" then
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
self.texture:SetDesaturated(1);
else
self.texture:SetTexCoord(1*width, 2*width, 1*height, 2*height);
end
end
self.texture:SetAllPoints()
self.texType = texType
end
pin.texType = 'U'
self.pins[parentFrame]["npcs"][npcId] = pin
return pin;
end,
_HideAllPins = function(self)
for _, frame in pairs(self.supportedMaps) do
if frame then
self:_PinFrameSetup(frame)
for i, v in pairs(self.pins[frame]["ids"]) do
self:_HidePin(i, v)
end
end
end
end,
_HidePin = function(self, id, pin)
pin:Hide()
local pinTable = self.pins[pin.originalParentFrame]
pinTable["npcs"][pin.npcId] = nil
pinTable["ids"][id] = nil
end,
_HideTooltip = function(self)
self.tooltip:Hide()
end,
-- This will return a colored version of the holidayName if it is not celebrating the holiday currently.
_HolidayName = function(self, holidayName)
local colorStart, colorEnd = "", ""
if not Grail:CelebratingHoliday(holidayName) then
colorStart = "|cff996600"
colorEnd = "|r"
end
return colorStart .. holidayName .. colorEnd, holidayName
end,
-- This routine will populate the data structure self.levelOneData with all of the items
-- that are supposed to appear in the top-level dropdown or scroller. Note that some of
-- the items' appearances are controlled by preferences.
_InitializeLevelOneData = function(self)
-- each row will contain a displayName
-- if the row is a header row, it will contain header (which is an integer so its status can be found in saved variables)
-- and children which is a table of rows
-- if the row is not a header row it will contain index (which is an integer used later to populate next level data)
local WDB = WhollyDatabase
local entries = {}
local t1
-- Basic continents
for mapId, continentTable in pairs(Grail.continents) do
local numberEntries = math.floor((#(continentTable.zones) + self.dropdownLimit - 1) / self.dropdownLimit)
for counter = 1, numberEntries do
local addition = (numberEntries > 1) and (" "..counter) or ""
tinsert(entries, { displayName = continentTable.name .. addition, index = Grail.continentIndexMapping[mapId] + 1000 * (counter - 1) })
end
-- for i = 1, #(Grail.continents) do
-- tinsert(entries, { displayName = Grail.continents[i].name, index = i })
end
tablesort(entries, function(a, b) return a.displayName < b.displayName end)
if not Grail.existsWoD then
-- Dungeons
t1 = { displayName = BUG_CATEGORY3, header = 1, children = {} }
for mapId, continentTable in pairs(Grail.continents) do
local i = Grail.continentIndexMapping[mapId]
tinsert(t1.children, { displayName = continentTable.name, index = 10 + i, continent = i })
-- for i = 1, #(Grail.continents) do
-- tinsert(t1.children, { displayName = Grail.continents[i].name, index = 10 + i, continent = i })
end
tablesort(t1.children, function(a, b) return a.displayName < b.displayName end)
tinsert(entries, t1)
end
tinsert(entries, { displayName = Wholly.s.WORLD_EVENTS, index = 21 })
tinsert(entries, { displayName = CLASS, index = 22 })
tinsert(entries, { displayName = TRADE_SKILLS, index = 23 }) -- Professions
if not WDB.ignoreReputationQuests then
tinsert(entries, { displayName = REPUTATION, index = 24 })
end
-- Achievements
if WDB.loadAchievementData then
t1 = { displayName = ACHIEVEMENTS, header = 2, children = {} }
for mapId, continentTable in pairs(Grail.continents) do
tinsert(t1.children, { displayName = continentTable.name, index = 30 + Grail.continentIndexMapping[mapId] })
-- for i = 1, #(Grail.continents) do
-- tinsert(t1.children, { displayName = Grail.continents[i].name, index = 30 + i })
end
tablesort(t1.children, function(a, b) return a.displayName < b.displayName end)
local i = 0
if nil ~= Grail.worldEventAchievements and nil ~= Grail.worldEventAchievements[Grail.playerFaction] then
for holidayKey, _ in pairs(Grail.worldEventAchievements[Grail.playerFaction]) do
i = i + 1
tinsert(t1.children, { displayName = Grail.holidayMapping[holidayKey], index = 40 + i, holidayName = Grail.holidayMapping[holidayKey]})
end
end
i = 0
if nil ~= Grail.professionAchievements and nil ~= Grail.professionAchievements[Grail.playerFaction] then
for professionKey, _ in pairs(Grail.professionAchievements[Grail.playerFaction]) do
i = i + 1
tinsert(t1.children, { displayName = Grail.professionMapping[professionKey], index = 50 + i, professionName = Grail.professionMapping[professionKey] })
end
end
tinsert(t1.children, { displayName = BATTLE_PET_SOURCE_5, index = 74 })
tinsert(t1.children, { displayName = Wholly.s.OTHER, index = 60 })
tinsert(entries, t1)
end
-- Reputation Changes
if WDB.loadReputationData then
t1 = { displayName = COMBAT_TEXT_SHOW_REPUTATION_TEXT, header = 3, children = {} }
tinsert(t1.children, { displayName = EXPANSION_NAME0, index = 61 })
tinsert(t1.children, { displayName = EXPANSION_NAME1, index = 62 })
tinsert(t1.children, { displayName = EXPANSION_NAME2, index = 63 })
tinsert(t1.children, { displayName = EXPANSION_NAME3, index = 64 })
if Grail.existsPandaria then
tinsert(t1.children, { displayName = EXPANSION_NAME4, index = 65 })
end
if Grail.existsWoD then
tinsert(t1.children, { displayName = EXPANSION_NAME5, index = 66 })
end
if Grail.existsLegion then
tinsert(t1.children, { displayName = EXPANSION_NAME6, index = 67 })
end
tinsert(entries, t1)
end
tinsert(entries, { displayName = Wholly.s.FOLLOWERS, index = 71})
tinsert(entries, { displayName = Wholly.s.OTHER, index = 72 })
tinsert(entries, { displayName = SEARCH, index = 73 })
tinsert(entries, { displayName = Wholly.s.TAGS, index = 75 }) -- note that 74 is the pet battles above
self.levelOneData = entries
end,
-- This routine will populate the data structure self.levelTwoData with all of the items
-- that are supposed to appear in the next-level dropdown or scroller based on the level
-- one selection.
_InitializeLevelTwoData = function(self)
local displaysEmptyZones = WhollyDatabase.displaysEmptyZones
local t = {}
local which = self.levelOneCurrent and self.levelOneCurrent.index or nil
if nil == which then self.levelTwoData = t return end
if 10 > which or 1000 < which then -- Basic continent
local Z = Grail.continents[Grail.continentMapIds[which % 1000]].zones
-- local Z = Grail.continents[which].zones
for i = 1, #Z do
local t1 = {}
t1.sortName = Z[i].name
t1.mapID = Z[i].mapID
--local augmentation = ''
--if nil ~= Grail.indexedQuests[t1.mapID] then augmentation = augmentation .. ' (' .. #(Grail.indexedQuests[t1.mapID]) .. ')' else augmentation = augmentation .. ' (NIL)' end
--if nil ~= Grail.indexedQuestsExtra[t1.mapID] then augmentation = augmentation .. ' (' .. #(Grail.indexedQuestsExtra[t1.mapID]) .. ')' else augmentation = augmentation .. ' (NIL)' end
t1.displayName = Z[i].name
-- .. ' ['.. Z[i].mapID .. ']' .. augmentation
if displaysEmptyZones or (0 < (Grail.indexedQuests[t1.mapID] and #(Grail.indexedQuests[t1.mapID]) or 0)) or (0 < (Grail.indexedQuestsExtra[t1.mapID] and #(Grail.indexedQuestsExtra[t1.mapID]) or 0)) then
tinsert(t, t1)
end
end
tablesort(t, function(a, b) return a.sortName < b.sortName end)
-- Now we determine which part of this table we are going to keep based on whether we are offset
if #Z > self.dropdownLimit then
local offset = math.floor(which / 1000)
local start = 1 + offset * self.dropdownLimit
local stop = mathmin(start - 1 + self.dropdownLimit, #Z)
local newT = {}
for current = start, stop do
tinsert(newT, t[current])
end
t = newT
end
elseif 20 > which then -- Dungeons
local mapAreas = Grail.continents[Grail.continentMapIds[self.levelOneCurrent.continent]].dungeons
-- local mapAreas = Grail.continents[self.levelOneCurrent.continent].dungeons
for i = 1, #mapAreas do
local t1 = {}
t1.sortName = Grail:MapAreaName(mapAreas[i]) or "UNKNOWN"
t1.displayName = t1.sortName
t1.mapID = mapAreas[i]
tinsert(t, t1)
end
elseif 21 == which then -- World Events
for code, name in pairs(Grail.holidayMapping) do
local t1 = {}
t1.sortName = name
t1.displayName = self:_HolidayName(name)
t1.mapID = Grail.holidayToMapAreaMapping['H'..code]
tinsert(t, t1)
end
elseif 22 == which then -- Class
for code, englishName in pairs(Grail.classMapping) do
local localizedGenderClassName = Grail:CreateClassNameLocalizedGenderized(englishName)
local classColor = RAID_CLASS_COLORS[englishName]
local mapId = Grail.classToMapAreaMapping['C'..code]
if nil == classColor then
classColor = { r = 0.0, g = 1.0, b = 150/255 }
localizedGenderClassName = "Monk"
end -- need to do for Monk currently
if nil ~= Grail:MapAreaName(mapId) then
local t1 = {}
t1.sortName = localizedGenderClassName
t1.displayName = format("|cff%.2x%.2x%.2x%s|r", classColor.r*255, classColor.g*255, classColor.b*255, localizedGenderClassName)
t1.mapID = mapId
tinsert(t, t1)
end
end
elseif 23 == which then -- Professions
for code, professionName in pairs(Grail.professionMapping) do
local mapId = Grail.professionToMapAreaMapping['P'..code]
if nil ~= Grail:MapAreaName(mapId) then
local t1 = {}
t1.sortName = professionName
t1.displayName = professionName
t1.mapID = mapId
tinsert(t, t1)
end
end
elseif 24 == which then -- Reputations
for reputationIndex, reputationName in pairs(Grail.reputationMapping) do
local factionId = tonumber(reputationIndex, 16)
local mapId = Grail.mapAreaBaseReputation + factionId
if nil ~= Grail:MapAreaName(mapId) then
local t1 = {}
t1.sortName = reputationName
t1.displayName = reputationName
t1.mapID = mapId
tinsert(t, t1)
end
end
elseif 40 > which then -- Continent Achievements
local mapAreas = Grail.achievements[Grail.playerFaction] and Grail.achievements[Grail.playerFaction][which - 30] or {}
for i = 1, #mapAreas do
local t1 = {}
t1.sortName = Grail:MapAreaName(mapAreas[i]) or "UNKONWN"
t1.displayName = self:_AchievementName(mapAreas[i])
t1.mapID = mapAreas[i]
tinsert(t, t1)
end
elseif 50 > which then -- Holiday Achievements
local mapAreas = Grail.worldEventAchievements[Grail.playerFaction] and Grail.worldEventAchievements[Grail.playerFaction][Grail.reverseHolidayMapping[self.levelOneCurrent.holidayName]] or {}
for i = 1, #mapAreas do
local t1 = {}
t1.sortName = Grail:MapAreaName(mapAreas[i]) or "UNKNOWN"
t1.displayName = self:_AchievementName(mapAreas[i])
t1.mapID = mapAreas[i]
tinsert(t, t1)
end
elseif 60 > which then -- Profession Achievements
local mapAreas = Grail.professionAchievements[Grail.playerFaction] and Grail.professionAchievements[Grail.playerFaction][Grail.reverseProfessionMapping[self.levelOneCurrent.professionName]] or {}
for i = 1, #mapAreas do
local t1 = {}
t1.sortName = Grail:MapAreaName(mapAreas[i]) or "UNKNOWN"
t1.displayName = self:_AchievementName(mapAreas[i])
t1.mapID = mapAreas[i]
tinsert(t, t1)
end
elseif 60 == which then -- Other Achievements
-- 5 Dungeon Achievement
local t1 = {}
local mapID = Grail.mapAreaBaseAchievement + 4956
t1.displayName, t1.sortName = self:_AchievementName(mapID)
t1.mapID = mapID
tinsert(t, t1)
-- Just Another Day in Tol Barad Achievement
t1 = {}
mapID = Grail.mapAreaBaseAchievement + ("Alliance" == Grail.playerFaction and 5718 or 5719)
t1.displayName, t1.sortName = self:_AchievementName(mapID)
t1.mapID = mapID
tinsert(t, t1)
elseif 70 > which then -- Reputation Changes
local mapAreas = Grail.reputationExpansionMapping[which - 60]
for i = 1, #mapAreas do
local t1 = {}
local mapID = Grail.mapAreaBaseReputationChange + mapAreas[i]
local factionId = Grail:_HexValue(mapAreas[i], 3)
t1.sortName = Grail.reputationMapping[factionId]
t1.displayName = t1.sortName
t1.mapID = mapID
if nil ~= Grail.indexedQuests[mapID] and 0 ~= #(Grail.indexedQuests[mapID]) then
tinsert(t, t1)
end
end
elseif 71 == which then -- Followers
local followerInfo, qualityLevel
for questId, followerId in pairs(Grail.followerMapping) do
if Grail:MeetsRequirementFaction(questId) then
followerInfo = C_Garrison.GetFollowerInfo(followerId)
local followerName = followerInfo.name
qualityLevel = followerInfo.quality
tinsert(t, { sortName = followerName, displayName = ITEM_QUALITY_COLORS[qualityLevel].hex..followerName.."|r", mapID = 0, f = function() Grail:SetMapAreaQuests(0, followerName, { questId }) Wholly.zoneInfo.panel.mapId = 0 Wholly._ForcePanelMapArea(Wholly, true) CloseDropDownMenus() end })
end
end
elseif 72 == which then -- Other
for i = 1, #(Grail.otherMapping) do
local t1 = {}
local mapID = Grail.otherMapping[i]
t1.sortName = Grail:MapAreaName(mapID) or "UNKNOWN"
t1.displayName = t1.sortName
t1.mapID = mapID
tinsert(t, t1)
end
local mapAreaID = Grail.mapAreaBaseDaily
local mapName = Grail:MapAreaName(mapAreaID) or "UNKNOWN"
tinsert(t, { sortName = mapName, displayName = "|c" .. WhollyDatabase.color['D'] .. mapName .. "|r", mapID = mapAreaID })
mapAreaID = Grail.mapAreaBaseOther
mapName = Wholly.s.OTHER
tinsert(t, { sortName = mapName, displayName = mapName, mapID = mapAreaID })
elseif 73 == which then -- Search
-- We use sortName in a special way because we do not want these items sorted alphabetically
local lastUsed = 1
local WDB = WhollyDatabase
tinsert(t, { sortName = 1, displayName = Wholly.s.SEARCH_NEW, f = function() Wholly._SearchFrameShow(Wholly, nil) Wholly.zoneInfo.panel.mapId = nil Wholly._SetLevelTwoCurrent(Wholly, nil) Wholly._ForcePanelMapArea(Wholly,true) CloseDropDownMenus() end })
if WDB.searches and 0 < #(WDB.searches) then
for i = 1, #(WDB.searches) do
local shouldSelect = (i == #(WDB.searches)) and self.justAddedSearch
tinsert(t, { sortName = i + 1, displayName = SEARCH .. ': ' .. WDB.searches[i], mapID = 0, selected = shouldSelect, f = function() Wholly.SearchForQuestNamesMatching(Wholly, WDB.searches[i]) Wholly.zoneInfo.panel.mapId = 0 Wholly._ForcePanelMapArea(Wholly, true) CloseDropDownMenus() end })
end
lastUsed = #(WDB.searches) + 2
tinsert(t, { sortName = lastUsed, displayName = Wholly.s.SEARCH_CLEAR, f = function() WDB.searches = nil CloseDropDownMenus() Wholly.zoneInfo.panel.mapId = nil Wholly._SetLevelTwoCurrent(Wholly, nil) Wholly._ForcePanelMapArea(Wholly,true) Wholly.ScrollFrameTwo_Update(Wholly) end })
self.justAddedSearch = nil
end
tinsert(t, { sortName = lastUsed + 1, displayName = Wholly.s.SEARCH_ALL_QUESTS, f = function() Wholly.SearchForAllQuests(Wholly) Wholly.zoneInfo.panel.mapId = 0 Wholly._ForcePanelMapArea(Wholly, true) CloseDropDownMenus() end })
elseif 74 == which then -- Pet Battle achievements
local mapAreas = Grail.petBattleAchievements[Grail.playerFaction] or {}
for i = 1, #mapAreas do
local t1 = {}
t1.sortName = Grail:MapAreaName(mapAreas[i]) or "UNKNOWN"
t1.displayName = self:_AchievementName(mapAreas[i])
t1.mapID = mapAreas[i]
tinsert(t, t1)
end
elseif 75 == which then -- Tags
local WDB = WhollyDatabase
tinsert(t, { sortName = " ", displayName = Wholly.s.TAGS_NEW, f = function() Wholly._SearchFrameShow(Wholly, true) Wholly.zoneInfo.panel.mapId = nil Wholly._SetLevelTwoCurrent(Wholly, nil) Wholly._ForcePanelMapArea(Wholly,true) CloseDropDownMenus() end })
if WDB.tags then
for tagName, _ in pairs(WDB.tags) do
tinsert(t, { sortName = tagName, displayName = Wholly.s.TAGS .. ': ' .. tagName, mapID = 0, f = function() Wholly.SearchForQuestsWithTag(Wholly, tagName) Wholly.zoneInfo.panel.mapId = 0 Wholly._ForcePanelMapArea(Wholly, true) CloseDropDownMenus() end })
end
tinsert(t, { sortName = " ", displayName = Wholly.s.TAGS_DELETE, f = function() Wholly._TagDelete(Wholly) Wholly.zoneInfo.panel.mapId = nil Wholly._SetLevelTwoCurrent(Wholly, nil) Wholly._ForcePanelMapArea(Wholly,true) end })
end
end
tablesort(t, function(a, b) return a.sortName < b.sortName end)
-- We want to make sure we retain the proper selection
if nil ~= self.levelTwoCurrent then
for i, v in pairs(t) do
if v.displayName == self.levelTwoCurrent.displayName and v.mapID == self.levelTwoCurrent.mapID then
v.selected = true
end
end
end
self.levelTwoData = t
self.lastWhich = which
end,
-- Starting in Blizzard's 5.4 release the SECURE_ACTIONS.click routine now calls IsForbidden() on the delegate
-- without first seeing if the delegate implements it. Of course since Wholly did not implement it and is
-- considered the delegate as it is the "clickbutton" attribute, Lua errors would happen for clicks. Now it
-- is implemented.
IsForbidden = function(self)
return false
end,
_IsIgnoredQuest = function(self, questId)
return Grail:_IsQuestMarkedInDatabase(questId, WhollyDatabase.ignoredQuests)
end,
_LoadDefaults = function(self)
local db = {}
db.defaultsLoaded = true
db.prependsQuestLevel = true
db.appendRequiredLevel = true
db.showsLowLevelQuests = true
db.showsAnyPreviousRepeatableCompletions = true
db.updatesPanelWhenZoneChanges = true
db.displaysMapPins = true
db.displaysMapFrame = true
db.displaysDungeonQuests = true
db.displaysBreadcrumbs = true
db.displaysHolidaysAlways = true
db.updatesWorldMapOnZoneChange = true
db.showsInLogQuestStatus = true
db.showsAchievementCompletionColors = true
db.loadAchievementData = true
db.loadReputationData = true
db.showsHolidayQuests = true
db.showsWeeklyQuests = true
db.showsLegendaryQuests = true
db.showsPetBattleQuests = true
db.showsPVPQuests = true
db.showsWorldQuests = true
db.loadDataData = true
db.version = Wholly.versionNumber
WhollyDatabase = db
return db
end,
_NPCInfoSectionCore = function(self, heading, table, button, meetsCriteria, processingPrerequisites)
if nil == table then return end
self:_AddLine(" ")
self:_AddLine(heading)
for first, second in pairs(table) do
local npcId = processingPrerequisites and first or second
local locations = Grail:NPCLocations(npcId)
if nil ~= locations then
for _, npc in pairs(locations) do
local locationString = npc.mapArea and Grail:MapAreaName(npc.mapArea) or ""
if npc.near then
locationString = locationString .. ' ' .. self.s.NEAR
elseif npc.mailbox then
locationString = locationString .. ' ' .. self.s.MAILBOX
elseif npc.created then
locationString = locationString .. ' ' .. self.s.CREATED_ITEMS
elseif nil ~= npc.x then
locationString = locationString .. strformat(' %.2f, %.2f', npc.x, npc.y)
end
local rawNameToUse = npc.name or "**"
local nameToUse = rawNameToUse
if npc.dropName then
nameToUse = nameToUse .. " (" .. npc.dropName .. ')'
end
local prettiness = self:_PrettyNPCString(nameToUse, npc.kill, npc.realArea)
if processingPrerequisites then
self:_QuestInfoSection({prettiness, locationString}, second)
else
self:_AddLine(prettiness, locationString)
end
if meetsCriteria then
local desiredMacroValue = self.s.SLASH_TARGET .. ' ' .. rawNameToUse
if button:GetAttribute("macrotext") ~= desiredMacroValue and not InCombatLockdown() then
button:SetAttribute("macrotext", desiredMacroValue)
end
end
end
end
end
end,
_NPCInfoSection = function(self, heading, table, button, meetsCriteria)
self:_NPCInfoSectionCore(heading, table, button, meetsCriteria)
end,
_NPCInfoSectionPrerequisites = function(self, heading, table, button, meetsCriteria)
self:_NPCInfoSectionCore(heading, table, button, meetsCriteria, true)
end,
_OnEnterBlizzardQuestButton = function(blizzardQuestButton)
if WhollyDatabase.displaysBlizzardQuestTooltips then
local questId = blizzardQuestButton.questID
Wholly.onlyAddingTooltipToGameTooltip = true
Wholly:_PopulateTooltipForQuest(blizzardQuestButton, questId)
Wholly.onlyAddingTooltipToGameTooltip = false
GameTooltip:Show()
end
end,
_OnEvent = function(self, frame, event, ...)
if self.eventDispatch[event] then
self.eventDispatch[event](self, frame, ...)
end
end,
OnHide = function(self, frame)
end,
OnLoad = function(self, frame)
GRAIL = Grail
if not GRAIL or GRAIL.versionNumber < requiredGrailVersion then
local errorMessage = format(self.s.REQUIRES_FORMAT, requiredGrailVersion)
print(errorMessage)
UIErrorsFrame:AddMessage(errorMessage)
return
end
self.checkedGrailVersion = true
SlashCmdList["WHOLLY"] = function(msg)
self:SlashCommand(frame, msg)
end
SLASH_WHOLLY1 = "/wholly"
com_mithrandir_whollyFrameTitleText:SetText("Wholly ".. com_mithrandir_whollyFrameTitleText:GetText())
com_mithrandir_whollyFrameWideTitleText:SetText("Wholly ".. com_mithrandir_whollyFrameWideTitleText:GetText())
self.toggleButton = CreateFrame("Button", "com_mithrandir_whollyFrameHiddenToggleButton", com_mithrandir_whollyFrame, "SecureHandlerClickTemplate")
self.toggleButton:SetAttribute("_onclick", [=[
local parent = self:GetParent()
if parent:IsShown() then
parent:Hide()
else
parent:Show()
end
]=])
self.currentFrame = com_mithrandir_whollyFrame
-- The frame is not allowing button presses to things just on the outside of its bounds so we move the hit rect
frame:SetHitRectInsets(0, 32, 0, 84)
local LibStub = _G["LibStub"]
if LibStub then
local LDB = LibStub("LibDataBroker-1.1", true)
if LDB then
local launcher = LDB:NewDataObject("Wholly", { type="launcher", icon="Interface\\Icons\\INV_Misc_Book_07",
OnClick = function(theFrame, button) if button == "RightButton" then Wholly:_OpenInterfaceOptions() else Wholly.currentFrame:Show() end end,
OnTooltipShow = function(tooltip)
Wholly:_ProcessInitialUpdate()
Wholly.ldbTooltipOwner = tooltip:GetOwner()
local dropdownValue = Wholly:_Dropdown_GetText()
local printValue = dropdownValue or ""
tooltip:AddLine("Wholly - " .. printValue )
tooltip:AddLine(Wholly.panelCountLine)
end,
})
self.coordinates = LDB:NewDataObject("Wholly Coordinates", { type="data source", icon="Interface\\Icons\\INV_Misc_Map02", text="",
OnClick = function(theFrame, button) Wholly.pairedCoordinatesButton:Click() end,
OnTooltipShow = function(tooltip)
Wholly.ldbCoordinatesTooltipOwner = tooltip:GetOwner()
local dungeonLevel = Wholly.zoneInfo.zone.dungeonLevel
local dungeonIndicator = (dungeonLevel > 0) and "["..dungeonLevel.."]" or ""
local mapAreaId = Wholly.zoneInfo.zone.mapId
local mapAreaName = GRAIL:MapAreaName(mapAreaId) or "UNKNOWN"
tooltip:AddLine(strformat("%d%s %s", mapAreaId, dungeonIndicator, mapAreaName)) end,
})
end
end
self.tooltip = CreateFrame("GameTooltip", "com_mithrandir_WhollyTooltip", UIParent, "GameTooltipTemplate");
self.tooltip:SetFrameStrata("TOOLTIP");
self.tooltip.large = com_mithrandir_WhollyTooltipTextLeft1:GetFontObject();
self.tooltip.small = com_mithrandir_WhollyTooltipTextLeft2:GetFontObject();
self.tooltip.SetLastFont = function(self, fontObj, rightText)
local txt = rightText and "Right" or "Left"
_G[format("com_mithrandir_WhollyTooltipText%s%d", txt, self:NumLines())]:SetFont(fontObj:GetFont())
end
self.tt = { [1] = GameTooltip }
local f = CreateFrame("Button", nil, WorldMapFrame.BorderFrame, "UIPanelButtonTemplate")
f:SetSize(100, 25)
if nil == Gatherer_WorldMapDisplay then
if not Grail.existsWoD then
f:SetPoint("TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 4, -4)
else
f:SetPoint("TOPLEFT", WorldMapFrameTutorialButton, "TOPRIGHT", 0, -30)
end
else
f:SetPoint("TOPLEFT", Gatherer_WorldMapDisplay, "TOPRIGHT", 4, 0)
end
f:SetToplevel(true)
f:SetScale(0.7)
f:SetText("Wholly")
f:SetScript("OnShow", function(self)
if nil == Gatherer_WorldMapDisplay then
if not Grail.existsWoD then
if not(GetCVarBool("miniWorldMap")) then
f:SetPoint("TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 4, -4)
else
self:SetPoint("TOPLEFT", WorldMapTitleButton, "TOPLEFT", 8, -3)
end
else
if TomTomWorldFrame and TomTomWorldFrame.Player then
f:SetPoint("TOPLEFT", TomTomWorldFrame.Player, "TOPRIGHT", 10, 6)
else
f:SetPoint("TOPLEFT", WorldMapFrameTutorialButton, "TOPRIGHT", 0, -30)
end
end
else
self:SetPoint("TOPLEFT", Gatherer_WorldMapDisplay, "TOPRIGHT", 4, 0)
end
end)
f:SetScript("OnEnter", function(self) local t = Wholly.tooltip t:ClearLines() t:SetOwner(self) t:AddLine(Wholly.mapCountLine) t:Show() t:ClearAllPoints() t:SetPoint("TOPLEFT", self, "BOTTOMRIGHT") end)
f:SetScript("OnLeave", function(self) Wholly.tooltip:Hide() end)
f:SetScript("OnClick", function(self) Wholly.pairedConfigurationButton:Click() end)
f:Hide()
self.mapFrame = f
-- if the UI panel disappears (maximized WorldMapFrame) we need to change parents
UIParent:HookScript("OnHide", function()
self.tooltip:SetParent(WorldMapFrame);
self.tooltip:SetFrameStrata("TOOLTIP");
end)
UIParent:HookScript("OnShow", function()
self.tooltip:SetParent(UIParent);
self.tooltip:SetFrameStrata("TOOLTIP");
end)
for _, frame in pairs(self.supportedControlMaps) do
if frame then
frame:HookScript("OnShow", function()
Wholly:_UpdatePins()
end)
end
end
GameTooltip:HookScript("OnTooltipSetUnit", Wholly._CheckNPCTooltip)
-- Code by Ashel from http://us.battle.net/wow/en/forum/topic/10388639018?page=2
if not WhollyDatabase.taintFixed and GRAIL.blizzardRelease < 17644 then -- this is an arbitrary version from the PTR where things are fixed
UIParent:HookScript("OnEvent", function(s, e, a1, a2)
if e:find("ACTION_FORBIDDEN") and ((a1 or "")..(a2 or "")):find("IsDisabledByParentalControls") then
StaticPopup_Hide(e)
end
end)
end
-- Make it so the Blizzard quest log can display our tooltips
if not GRAIL.existsWoD then
local buttons = QuestLogScrollFrame.buttons
local buttonCount = #buttons
for i = 1, buttonCount do
buttons[i]:HookScript("OnEnter", function(button)
if WhollyDatabase.displaysBlizzardQuestTooltips then
self:_PresentTooltipForBlizzardQuest(button)
end
end)
buttons[i]:HookScript("OnLeave", function(button)
if WhollyDatabase.displaysBlizzardQuestTooltips then
for i = 1, self.currentTt do
self.tt[i]:Hide()
end
end
end)
end
else
hooksecurefunc("QuestMapLogTitleButton_OnEnter", Wholly._OnEnterBlizzardQuestButton)
-- Now since the Blizzard UI has probably created a quest frame before I get
-- the chance to hook the function I need to go through all the quest frames
-- and hook them too.
local titles = QuestMapFrame.QuestsFrame.Contents.Titles
for i = 1, #(titles) do
titles[i]:HookScript("OnEnter", Wholly._OnEnterBlizzardQuestButton)
end
end
-- Our frame positions are wrong for MoP, so we change them here.
if GRAIL.existsPandaria then
com_mithrandir_whollyQuestInfoFrame:SetPoint("TOPRIGHT", QuestFrame, "TOPRIGHT", -15, -35)
com_mithrandir_whollyQuestInfoBuggedFrame:SetPoint("TOPLEFT", QuestFrame, "TOPLEFT", 100, -35)
com_mithrandir_whollyBreadcrumbFrame:SetPoint("TOPLEFT", QuestFrame, "BOTTOMLEFT", 16, -10)
end
local nf = CreateFrame("Frame")
self.notificationFrame = nf
nf:SetScript("OnEvent", function(frame, event, ...) self:_OnEvent(frame, event, ...) end)
nf:RegisterEvent("ADDON_LOADED")
if "deDE" == GetLocale() then
com_mithrandir_whollyFramePreferencesButton:SetText("Einstellungen")
end
if "ruRU" == GetLocale() then
com_mithrandir_whollyFrameSortButton:SetText("Сортировать")
end
com_mithrandir_whollyFrameSwitchZoneButton:SetText(self.s.MAP)
com_mithrandir_whollyFrameWideSwitchZoneButton:SetText(self.s.MAP)
if not GRAIL.existsWoD then
com_mithrandir_whollyFrameWideReallySwitchZoneButton:Hide()
end
end,
---
-- The first time the panel is shown it is populated with the information from the current map area.
OnShow = function(self, frame)
self:_ProcessInitialUpdate()
if nil == self.dropdown and self.currentFrame == com_mithrandir_whollyFrame then
self:_Dropdown_Create()
local mapAreaName = GRAIL:MapAreaName(self.zoneInfo.panel.mapId) or GetRealZoneText() -- default to something if we do not support the zone
if nil ~= mapAreaName then self:_Dropdown_SetText(mapAreaName) end
end
if WhollyDatabase.showsInLogQuestStatus then
self:ScrollFrame_Update_WithCombatCheck()
end
self:ScrollFrameOne_Update()
self:ScrollFrameTwo_Update()
end,
_OnUpdate = function(self, frame, elapsed)
self.lastUpdate = self.lastUpdate + elapsed
if self.lastUpdate < self.updateThreshold then return end
local x, y = GetPlayerMapPosition('player')
if self.previousX ~= x or self.previousY ~= y then
if nil ~= self.coordinates then
self.coordinates.text = strformat("%.2f, %.2f", x * 100, y * 100)
end
self.previousX = x
self.previousY = y
end
self.lastUpdate = 0
end,
-- For some odd reason, if the options have never been opened they will default to opening to a Blizzard
-- option and not the desired one. So a brutal workaround is to call it twice, which seems to do the job.
_OpenInterfaceOptions = function(self)
InterfaceOptionsFrame_OpenToCategory("Wholly")
InterfaceOptionsFrame_OpenToCategory("Wholly")
end,
_PinFrameSetup = function(self, frame)
if nil == self.pins[frame] then
self.pins[frame] = { ["npcs"] = {}, ["ids"] = {}, }
end
end,
_PresentTooltipForBlizzardQuest = function(self, blizzardQuestButton)
local questIndex = blizzardQuestButton:GetID()
local questTitle, level, questTag, suggestedGroup, isHeader, isCollapsed, isComplete, isDaily, questId, startEvent = Grail:GetQuestLogTitle(questIndex)
if not isHeader then
self:_PopulateTooltipForQuest(blizzardQuestButton, questId)
for i = 1, self.currentTt do
self.tt[i]:Show()
end
end
end,
_PrettyNPCString = function(self, npcName, mustKill, realAreaId)
if mustKill then npcName = format(self.s.MUST_KILL_PIN_FORMAT, npcName) end
if realAreaId then npcName = format("%s => %s", npcName, GRAIL:MapAreaName(realAreaId) or "UNKNOWN") end
return npcName
end,
_PrettyQuestCountString = function(self, questTable, displayedCount, forMap, abbreviated)
local WDB = WhollyDatabase
local retval = ""
local codesToUse = abbreviated and { 'G', 'W', 'L', 'Y', } or { 'G', 'W', 'L', 'Y', 'P', 'D', 'K', 'R', 'H', 'I', 'C', 'B', 'O', }
local lastCode = abbreviated and 'P' or 'U'
displayedCount = displayedCount or 0
if nil ~= questTable then
local totals = { ['B'] = 0, ['C'] = 0, ['D'] = 0, ['G'] = 0, ['H'] = 0, ['I'] = 0, ['K'] = 0, ['L'] = 0, ['O'] = 0, ['P'] = 0, ['R'] = 0, ['U'] = 0, ['W'] = 0, ['Y'] = 0, }
local code
for i = 1, #questTable do
code = questTable[i][2]
totals[code] = totals[code] + 1
end
local colorCode
for _,code in pairs(codesToUse) do
colorCode = WDB.color[code]
retval = retval .. "|c" .. colorCode .. totals[code] .. "|r/"
end
local displayStart, displayEnd = "", ""
if forMap and not WhollyDatabase.displaysMapPins then
displayStart, displayEnd = "|cffff0000", "|r"
end
retval = retval .. "|c" .. WDB.color[lastCode] .. totals[lastCode] .. "|r"
if not abbreviated then
retval = retval .. " [" .. displayStart .. displayedCount .. displayEnd .. "/" .. #questTable .."]"
end
end
return retval
end,
_PrettyQuestString = function(self, questTable)
local WDB = WhollyDatabase
local questId = questTable[1]
local questCode, subcode, numeric = GRAIL:CodeParts(questId)
local filterCode = questTable[2]
local colorCode = WDB.color[filterCode]
if questCode == 'I' or questCode == 'i' then
local name = GetSpellInfo(numeric)
local negateString = (questCode == 'i') and "!" or ""
return format("|c%s%s|r %s[%s]", colorCode, name, negateString, self.s.SPELLS)
elseif questCode == 'F' then
return format("|c%s%s|r [%s]", colorCode, subcode == 'A' and self.s.ALLIANCE or self.s.HORDE, self.s.FACTION)
elseif questCode == 'W' then
local questTable = GRAIL.questStatusCache['G'][subcode] or {}
return format("|c%s%d|r/%d", colorCode, numeric, #(questTable))
elseif questCode == 'V' then
local questTable = GRAIL.questStatusCache['G'][subcode] or {}
return format("|c%s%d|r/%d [%s]", colorCode, numeric, #(questTable), self.s.ACCEPTED)
elseif questCode == 'w' then
local questTable = GRAIL.questStatusCache['G'][subcode] or {}
return format("|c%s%d|r/%d [%s, %s]", colorCode, numeric, #(questTable), self.s.COMPLETE, self.s.TURNED_IN)
elseif questCode == 't' or questCode == 'T' or questCode == 'u' or questCode == 'U' then
if ('t' == questCode or 'u' == questCode) and 'P' == filterCode then colorCode = WDB.color.B end
return format("|c%s%s|r [%s]", colorCode, GRAIL.reputationMapping[subcode], self.s.REPUTATION_REQUIRED)
elseif questCode == 'Z' then
local name = GetSpellInfo(numeric)
return format("|c%s%s|r [%s]", colorCode, name, self.s.EVER_CAST)
elseif questCode == 'J' or questCode == 'j' then
local id, name = GetAchievementInfo(numeric)
local negateString = (questCode == 'j') and "!" or ""
return format("|c%s%s|r %s[%s]", colorCode, name, negateString, self.s.ACHIEVEMENTS)
elseif questCode == 'Y' or questCode == 'y' then
local id, name = GetAchievementInfo(numeric, true)
local negateString = (questCode == 'y') and "!" or ""
return format("|c%s%s|r %s[%s][%s]", colorCode, name, negateString, self.s.ACHIEVEMENTS, self.s.PLAYER)
elseif questCode == 'K' or questCode == 'k' then
local name = GRAIL:NPCName(numeric)
local itemString = (questCode == 'k') and self.s.ITEM_LACK or self.s.ITEM
return format("|c%s%s|r [%s]", colorCode, name, itemString)
elseif questCode == 'L' or questCode == 'l' then
local lessThanString = (questCode == 'l') and "<" or ""
return format("|c%s%s %s%d|r", colorCode, self.s.LEVEL, lessThanString, numeric)
elseif questCode == 'N' then
local englishName = Grail.classMapping[subcode]
local localizedGenderClassName = Grail:CreateClassNameLocalizedGenderized(englishName)
local classColor = RAID_CLASS_COLORS[englishName]
return format("|c%s%s |r|cff%.2x%.2x%.2x%s|r", colorCode, CLASS, classColor.r*255, classColor.g*255, classColor.b*255, localizedGenderClassName)
elseif questCode == 'P' then
local meetsRequirement, actualSkillLevel = GRAIL:ProfessionExceeds(subcode, numeric)
local levelCode
if meetsRequirement then
colorCode = WDB.color['C']
levelCode = WDB.color['C']
elseif actualSkillLevel ~= GRAIL.NO_SKILL then
colorCode = WDB.color['C']
levelCode = WDB.color['P']
else
colorCode = WDB.color['P']
levelCode = WDB.color['P']
end
return format("|c%s%s|r |c%s%d|r [%s]", colorCode, GRAIL.professionMapping[subcode], levelCode, numeric, self.s.PROFESSIONS)
elseif questCode == 'Q' or questCode == 'q' then
local comparison = questCode == 'Q' and ">=" or '<'
return format("|c%s%s %s %s|r", colorCode, self.s.CURRENTLY_EQUIPPED, comparison, self.s.ILEVEL)
elseif questCode == 'R' then
local name = GetSpellInfo(numeric)
return format("|c%s%s|r [%s]", colorCode, name, self.s.EVER_EXPERIENCED)
elseif questCode == 'S' or questCode == 's' then
local skillName
if numeric > 200000000 then
skillName = GRAIL:NPCName(numeric)
else
skillName = GetSpellInfo(numeric)
end
local negateString = (questCode == 's') and "!" or ""
return format("|c%s%s|r %s[%s]", colorCode, skillName, negateString, self.s.SKILL)
elseif questCode == 'G' then
local positive = (numeric < 0) and numeric * -1 or numeric
local id, buildingName = C_Garrison.GetBuildingInfo(positive)
local requiredPlotString = ''
if '' ~= subcode then
requiredPlotString = " " .. self.s.PLOT .. " " .. subcode
end
return format("|c%s%s%s|r [%s]", colorCode, buildingName, requiredPlotString, self.s.BUILDING)
elseif questCode == 'z' then
local positive = (numeric < 0) and numeric * -1 or numeric
local id, buildingName = C_Garrison.GetBuildingInfo(positive)
return format("|c%s%s - %s|r [%s]", colorCode, buildingName, GARRISON_FOLLOWER_WORKING, self.s.BUILDING)
elseif questCode == '=' or questCode == '<' or questCode == '>' then
local phaseLocation = GRAIL:MapAreaName(subcode) or "UNKNOWN"
local phaseString = format(self.s.STAGE_FORMAT, numeric)
return format("|c%s%s %s [%s]|r", colorCode, phaseLocation, questCode, phaseString)
elseif questCode == 'x' then
return format("|c%s"..ARTIFACTS_KNOWLEDGE_TOOLTIP_LEVEL.."|r", colorCode, numeric)
elseif questCode == 'a' then
return format("|c%s"..AVAILABLE_QUEST.."|r", colorCode)
elseif questCode == '@' then
return format("|c%s%s %s %d|r", colorCode, Grail:NPCName(100000000 + subcode), self.s.LEVEL, numeric)
elseif questCode == '#' then
return format(GARRISON_MISSION_TIME, format("|c%s%s|r", colorCode, Grail:MissionName(numeric) or numeric))
-- return format("Mission Needed: |c%s%s|r", colorCode, Grail:MissionName(numeric)) -- GARRISON_MISSION_TIME
else
questId = numeric
local typeString = ""
local WDB = WhollyDatabase
if questCode == 'B' then
typeString = format(" [%s]", self.s.IN_LOG)
elseif questCode == 'C' then
typeString = format(" [%s, %s]", self.s.IN_LOG, self.s.TURNED_IN)
elseif questCode == 'c' then
typeString = format(" ![%s, %s]", self.s.IN_LOG, self.s.TURNED_IN)
elseif questCode == 'D' then
typeString = format(" [%s]", self.s.COMPLETE)
elseif questCode == 'e' then
typeString = format(" ![%s, %s]", self.s.COMPLETE, self.s.TURNED_IN)
elseif questCode == 'E' then
typeString = format(" [%s, %s]", self.s.COMPLETE, self.s.TURNED_IN)
elseif questCode == 'H' then
typeString = format(" [%s]", self.s.EVER_COMPLETED)
elseif questCode == 'M' then
typeString = format(" [%s]", self.s.ABANDONED)
elseif questCode == 'm' then
typeString = format(" [%s]", self.s.NEVER_ABANDONED)
elseif questCode == 'O' then
typeString = format(" [%s]", self.s.ACCEPTED)
elseif questCode == 'X' then
typeString = format(" ![%s]", self.s.TURNED_IN)
end
local statusCode = GRAIL:StatusCode(questId)
local questLevel = GRAIL:QuestLevel(questId)
local questLevelString = WDB.prependsQuestLevel and format("[%s] ", questLevel or "??") or ""
local requiredLevelString = ""
if WDB.appendRequiredLevel then
local success, _, questLevelNeeded, _ = GRAIL:MeetsRequirementLevel(questId)
if bitband(statusCode, GRAIL.bitMaskLevelTooLow) > 0 then requiredLevelString = format(" [%s]", questLevelNeeded) end
end
local repeatableCompletedString = WDB.showsAnyPreviousRepeatableCompletions and bitband(statusCode, GRAIL.bitMaskResettableRepeatableCompleted) > 0 and "*" or ""
return format("|c%s%s%s%s%s|r%s", colorCode, questLevelString, self:_QuestName(questId), repeatableCompletedString, requiredLevelString, typeString)
end
end,
_ProcessInitialUpdate = function(self)
if not self.initialUpdateProcessed then
self.zoneInfo.panel.mapId = self.zoneInfo.zone.mapId
self.zoneInfo.panel.dungeonLevel = self.zoneInfo.zone.dungeonLevel
self:_ForcePanelMapArea()
self.initialUpdateProcessed = true
end
end,
_PopulateTooltipForQuest = function(self, frame, questId, aliasQuestId)
local Grail = Grail
self.currentTt = 1
questId = tonumber(questId)
if not self.onlyAddingTooltipToGameTooltip then
self.tt[1]:SetOwner(frame, "ANCHOR_RIGHT")
self.tt[1]:ClearLines()
end
if nil == questId then return end
if not self.onlyAddingTooltipToGameTooltip then
self.tt[1]:SetHyperlink(format("quest:%d", questId))
end
if not Grail:DoesQuestExist(questId) then self:_AddLine(" ") self:_AddLine(self.s.GRAIL_NOT_HAVE) return end
local bugged = Grail:IsBugged(questId)
if bugged then
self:_AddLine(" ")
self:_AddLine(self.s.BUGGED)
self:_AddLine(bugged)
end
local obsolete = Grail:IsQuestObsolete(questId)
if obsolete then
self:_AddLine(" ")
self:_AddLine("|cffff0000"..self.s.UNAVAILABLE.." ("..self.s.REMOVED..")|r", obsolete)
end
local pending = Grail:IsQuestPending(questId)
if pending then
self:_AddLine(" ")
self:_AddLine("|cffff0000"..self.s.UNAVAILABLE.." ("..self.s.PENDING..")|r", pending)
end
if self.debug then
self:_AddLine(" ")
local aliasQuestString = aliasQuestId and " ("..aliasQuestId..")" or ""
self:_AddLine(self.s.QUEST_ID ..questId..aliasQuestString)
end
local GWP = GrailWhenPlayer
if nil ~= GWP then
local when = GWP['when'][questId]
if nil == when then
if Grail:IsQuestCompleted(questId) or Grail:HasQuestEverBeenCompleted(questId) then
when = self.s.TIME_UNKNOWN
end
end
if nil ~= when then
self:_AddLine(" ")
when = "|cff00ff00" .. when .. "|r"
local count = GWP['count'][questId]
self:_AddLine(strformat(self.s.COMPLETED_FORMAT, when), count)
end
end
questId = aliasQuestId or questId -- remap to the alias now that the Blizzard interaction is done
local obtainersCode = Grail:CodeObtainers(questId)
local obtainersRaceCode = Grail:CodeObtainersRace(questId)
local holidayCode = Grail:CodeHoliday(questId)
local questLevel = Grail:QuestLevel(questId)
local _, _, requiredLevel, notToExceedLevel = Grail:MeetsRequirementLevel(questId)
local questType = self:_QuestTypeString(questId)
local statusCode = Grail:StatusCode(questId)
local normalColor, redColor, orangeColor, greenColor = "ffffd200", "ffff0000", "ffff9900", "ff00ff00"
local colorCode
self:_AddLine(" ")
self:_AddLine(LEVEL, questLevel)
self:_AddLine(self.s.REQUIRED_LEVEL, requiredLevel)
if bitband(statusCode, Grail.bitMaskLevelTooHigh) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorLevelTooHigh) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..self.s.MAX_LEVEL.."|r", (notToExceedLevel * Grail.bitMaskQuestMaxLevelOffset == Grail.bitMaskQuestMaxLevel) and self.s.MAXIMUM_LEVEL_NONE or notToExceedLevel)
if "" == questType then questType = self.s.QUEST_TYPE_NORMAL end
self:_AddLine(TYPE, trim(questType))
local loremasterString = self.s.MAPAREA_NONE
local loremasterMapArea = Grail:LoremasterMapArea(questId)
if nil ~= loremasterMapArea then loremasterString = Grail:MapAreaName(loremasterMapArea) or "UNKNOWN" end
self:_AddLine(self.s.LOREMASTER_AREA, loremasterString)
self:_AddLine(" ")
local factionString = FACTION_OTHER
if Grail.bitMaskFactionAll == bitband(obtainersCode, Grail.bitMaskFactionAll) then
factionString = self.s.FACTION_BOTH
elseif 0 < bitband(obtainersCode, Grail.bitMaskFactionAlliance) then
factionString = self.s.ALLIANCE
elseif 0 < bitband(obtainersCode, Grail.bitMaskFactionHorde) then
factionString = self.s.HORDE
end
if bitband(statusCode, Grail.bitMaskFaction) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorFaction) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..self.s.FACTION.."|r", factionString)
local classString
if 0 == bitband(obtainersCode, Grail.bitMaskClassAll) then
classString = self.s.CLASS_NONE
elseif Grail.bitMaskClassAll == bitband(obtainersCode, Grail.bitMaskClassAll) then
classString = self.s.CLASS_ANY
else
classString = ""
for letterCode, bitValue in pairs(Grail.classToBitMapping) do
if 0 < bitband(obtainersCode, bitValue) then
local englishName = Grail.classMapping[letterCode]
local localizedGenderClassName = Grail:CreateClassNameLocalizedGenderized(englishName)
local classColor = RAID_CLASS_COLORS[englishName]
classString = classString .. format("|cff%.2x%.2x%.2x%s|r ", classColor.r*255, classColor.g*255, classColor.b*255, localizedGenderClassName)
end
end
trim(classString)
end
if bitband(statusCode, Grail.bitMaskClass) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorClass) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..CLASS.."|r", classString)
local genderString = self.s.GENDER_NONE
if Grail.bitMaskGenderAll == bitband(obtainersCode, Grail.bitMaskGenderAll) then
genderString = self.s.GENDER_BOTH
elseif 0 < bitband(obtainersCode, Grail.bitMaskGenderMale) then
genderString = self.s.MALE
elseif 0 < bitband(obtainersCode, Grail.bitMaskGenderFemale) then
genderString = self.s.FEMALE
end
if bitband(statusCode, Grail.bitMaskGender) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorGender) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..self.s.GENDER .."|r", genderString)
-- Note that race can show races of any faction, especially if the quest is marked just to exclude a specific race
local raceString
if 0 == bitband(obtainersRaceCode, Grail.bitMaskRaceAll) then
raceString = self.s.RACE_NONE
elseif Grail.bitMaskRaceAll == bitband(obtainersRaceCode, Grail.bitMaskRaceAll) then
raceString = self.s.RACE_ANY
else
raceString = ""
for letterCode, raceTable in pairs(Grail.races) do
local bitValue = raceTable[4]
if 0 < bitband(obtainersRaceCode, bitValue) then
local englishName = Grail.races[letterCode][1]
local localizedGenderRaceName = Grail:CreateRaceNameLocalizedGenderized(englishName)
raceString = raceString .. localizedGenderRaceName .. " "
end
end
raceString = trim(raceString)
end
if bitband(statusCode, Grail.bitMaskRace) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorRace) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..RACES.."|r", raceString)
if 0 ~= holidayCode then
self:_AddLine(" ")
if bitband(statusCode, Grail.bitMaskHoliday) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorHoliday) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..self.s.HOLIDAYS_ONLY.."|r")
for letterCode, bitValue in pairs(Grail.holidayToBitMapping) do
if 0 < bitband(holidayCode, bitValue) then
self:_AddLine(Grail.holidayMapping[letterCode])
end
end
end
if bitband(Grail:CodeType(questId), Grail.bitMaskQuestSpecial) > 0 then
self:_AddLine(" ")
self:_AddLine(self.s.SP_MESSAGE)
end
if nil ~= Grail.quests[questId]['rep'] then
self:_AddLine(" ")
if bitband(statusCode, Grail.bitMaskReputation) > 0 then colorCode = redColor elseif bitband(statusCode, Grail.bitMaskAncestorReputation) > 0 then colorCode = orangeColor else colorCode = normalColor end
self:_AddLine("|c"..colorCode..self.s.REPUTATION_REQUIRED.."|r")
for reputationIndex, repTable in pairs(Grail.quests[questId]['rep']) do
-- repTable can have 'min' and/or 'max'
local repValue = repTable['min']
local reputationString
if nil ~= repValue then
local _, reputationLevelName = Grail:ReputationNameAndLevelName(reputationIndex, repValue)
if nil ~= reputationLevelName then
local exceeds, earnedValue = Grail:_ReputationExceeds(Grail.reputationMapping[reputationIndex], repValue)
reputationString = format(exceeds and "|cFF00FF00%s|r" or "|cFFFF0000%s|r", reputationLevelName)
self:_AddLine(Grail.reputationMapping[reputationIndex], reputationString)
end
end
repValue = repTable['max']
if nil ~= repValue then
local _, reputationLevelName = Grail:ReputationNameAndLevelName(reputationIndex, repValue)
if nil ~= reputationLevelName then
local exceeds, earnedValue = Grail:_ReputationExceeds(Grail.reputationMapping[reputationIndex], repValue)
reputationString = format(not exceeds and "|cFF00FF00< %s|r" or "|cFFFF0000< %s|r", reputationLevelName)
self:_AddLine(Grail.reputationMapping[reputationIndex], reputationString)
end
end
end
end
-- Just give an indication that there is a Professions failure, but the user will need to look at prerequisites to see which professions.
if bitband(statusCode, Grail.bitMaskProfession + Grail.bitMaskAncestorProfession) > 0 then
self:_AddLine(" ")
if bitband(statusCode, Grail.bitMaskProfession) > 0 then
colorCode = redColor
else
colorCode = orangeColor
end
self:_AddLine("|c"..colorCode..self.s.PROFESSIONS..':'.."|r")
end
self:_QuestInfoSection(self.s.BREADCRUMB, Grail:QuestBreadcrumbs(questId))
-- At the moment the UI will show both invalidated and breadcrumb invalidated ancestors as orange.
local breadcrumbColorCode
if bitband(statusCode, Grail.bitMaskInvalidated) > 0 then
if Grail:IsInvalidated(questId, true) then -- still invalid ignoring breadcrumbs
colorCode = redColor
breadcrumbColorCode = normalColor
else
colorCode = normalColor
breadcrumbColorCode = redColor
end
elseif bitband(statusCode, Grail.bitMaskAncestorInvalidated) > 0 then
colorCode = orangeColor
breadcrumbColorCode = orangeColor
else
breadcrumbColorCode = normalColor
colorCode = normalColor
end
self:_QuestInfoSection("|c"..breadcrumbColorCode..self.s.IS_BREADCRUMB.."|r", Grail:QuestBreadcrumbsFor(questId))
self:_QuestInfoSection("|c"..colorCode..self.s.INVALIDATE.."|r", Grail:QuestInvalidates(questId))
local lastIndexUsed = 0
if Grail.DisplayableQuestPrerequisites then
lastIndexUsed = self:_QuestInfoSection(self.s.PREREQUISITES, Grail:DisplayableQuestPrerequisites(questId, true), lastIndexUsed)
else
lastIndexUsed = self:_QuestInfoSection(self.s.PREREQUISITES, Grail:QuestPrerequisites(questId, true), lastIndexUsed)
end
self:_QuestInfoSection(self.s.OAC, Grail:QuestOnAcceptCompletes(questId))
self:_QuestInfoSection(self.s.OCC, Grail:QuestOnCompletionCompletes(questId))
self:_QuestInfoTurninSection(self.s.OTC, Grail:QuestOnTurninCompletes(questId))
if nil ~= Grail.quests[questId]['AZ'] then
self:_AddLine(" ")
if "table" == type(Grail.quests[questId]['AZ']) then
for _, mapAreaId in pairs(Grail.quests[questId]['AZ']) do
self:_AddLine(self.s.ENTER_ZONE, Grail:MapAreaName(mapAreaId) or "UNKNOWN")
end
else
self:_AddLine(self.s.ENTER_ZONE, Grail:MapAreaName(Grail.quests[questId]['AZ']) or "UNKNOWN")
end
end
local reputationCodes = Grail.questReputations[questId]
if nil ~= reputationCodes then
local reputationCount = strlen(reputationCodes) / 4
self:_AddLine(" ")
self:_AddLine(self.s.REPUTATION_CHANGES .. ':')
local index, value
for i = 1, reputationCount do
index, value = Grail:ReputationDecode(strsub(reputationCodes, i * 4 - 3, i * 4))
if value > 0 then
colorCode = greenColor
else
colorCode = redColor
value = -1 * value
end
if WhollyDatabase.showsAllFactionReputations or Grail:FactionAvailable(index) then
self:_AddLine(Grail.reputationMapping[index], "|c"..colorCode..value.."|r")
end
end
end
-- Technically we should be able to fetch quest reward information for quests that are not in our quest log
self:_AddLine(" ")
self:_AddLine(self.s.QUEST_REWARDS .. ":")
local rewardXp = GetQuestLogRewardXP(questId)
if 0 ~= rewardXp then
self:_AddLine(strformat(self.s.GAIN_EXPERIENCE_FORMAT, rewardXp))
end
local rewardMoney = GetQuestLogRewardMoney(questId)
if 0 ~= rewardMoney then
self:_AddLine(GetCoinTextureString(rewardMoney))
end
for counter = 1, GetNumQuestLogRewardCurrencies(questId) do
local currencyName, currencyTexture, currencyCount = GetQuestLogRewardCurrencyInfo(counter, questId)
self:_AddLine(currencyName, currencyCount, currencyTexture)
end
-- TODO: Determine whether these API work properly for quests because we are getting Wholly displaying values
-- that seem to be for the previous quest dealt with. It is as if the internal counter that Blizzard is
-- using is wrong.
-- for counter = 1, GetNumQuestLogRewards(questId) do
-- local name, texture, count, quality, isUsable = GetQuestLogRewardInfo(counter, questId)
-- self:_AddLine(name, count, texture)
-- end
-- local numberQuestChoiceRewards = GetNumQuestLogChoices(questId)
-- if 1 < numberQuestChoiceRewards then
-- self:_AddLine(self.s.REWARD_CHOICES)
-- end
-- for counter = 1, numberQuestChoiceRewards do
-- local name, texture, numItems, quality, isUsable = GetQuestLogChoiceInfo(counter, questId)
-- self:_AddLine(name, count, texture)
-- end
-- if nil ~= Grail.questRewards then
-- local rewardString = Grail.questRewards[questId]
-- if nil ~= rewardString then
-- self:_AddLine(" ")
-- self:_AddLine(self.s.QUEST_REWARDS .. ":")
-- local rewards = { strsplit(":", rewardString) }
-- local reward
-- local rewardType, restOfReward
-- local displayedBanner = false
-- for counter = 1, #rewards do
-- reward = rewards[counter]
-- if reward ~= "" then
-- rewardType = strsub(reward, 1, 1)
-- restOfReward = strsub(reward, 2)
-- if 'X' == rewardType then
-- local experience = tonumber(restOfReward)
-- self:_AddLine(strformat(self.s.GAIN_EXPERIENCE_FORMAT, experience))
-- elseif 'M' == rewardType then
-- local coppers = tonumber(restOfReward)
---- local golds = coppers / 10000
---- local silvers = (coppers - (golds * 10000)) / 100
---- coppers = coppers % 100
-- self:_AddLine(GetCoinTextureString(coppers))
-- elseif 'R' == rewardType then
-- local itemIdString, itemCount = strsplit("-", restOfReward)
-- local _, itemLink = GetItemInfo(itemIdString)
-- self:_AddLine(itemLink, itemCount)
-- elseif 'C' == rewardType then
-- if not displayedBanner then
-- displayedBanner = true
-- self:_AddLine(self.s.REWARD_CHOICES)
-- end
-- local itemIdString, itemCount = strsplit("-", restOfReward)
-- local _, itemLink = GetItemInfo(itemIdString)
-- self:_AddLine(itemLink, itemCount)
-- end
-- end
-- end
-- end
-- end
self:_NPCInfoSection(self.s.WHEN_KILL, Grail:QuestNPCKills(questId), frame, false)
local possibleNPCs = Grail:QuestNPCPrerequisiteAccepts(questId)
if nil ~= possibleNPCs then
self:_NPCInfoSectionPrerequisites(self.s.QUEST_GIVERS..':', possibleNPCs, frame, ('I' ~= frame.statusCode))
else
self:_NPCInfoSection(self.s.QUEST_GIVERS..':', Grail:QuestNPCAccepts(questId), frame, ('I' ~= frame.statusCode))
end
possibleNPCs = Grail:QuestNPCPrerequisiteTurnins(questId)
if nil ~= possibleNPCs then
self:_NPCInfoSectionPrerequisites(self.s.TURN_IN..':', possibleNPCs, frame, ('I' ~= frame.statusCode))
else
self:_NPCInfoSection(self.s.TURN_IN..':', Grail:QuestNPCTurnins(questId), frame, ('I' == frame.statusCode))
end
end,
QuestInfoEnter = function(self, frame)
self:_PopulateTooltipForQuest(frame, self:_BreadcrumbQuestId())
for i = 1, self.currentTt do
self.tt[i]:Show()
end
end,
QuestInfoEnterPopup = function(self, frame)
self:_PopulateTooltipForQuest(frame, QuestLogPopupDetailFrame.questID)
for i = 1, self.currentTt do
self.tt[i]:Show()
end
end,
_QuestInfoSection = function(self, heading, tableOrString, lastUsedIndex)
if nil == tableOrString then return lastUsedIndex end
local indentation
if "table" == type(heading) then
self:_AddLine(heading[1], heading[2])
indentation = " "
else
self:_AddLine(" ")
self:_AddLine(heading)
indentation = ""
end
local controlTable = { indentation = indentation, lastIndexUsed = lastIndexUsed, func = self._QuestInfoSectionSupport }
Grail._ProcessCodeTable(tableOrString, controlTable)
return controlTable.index
end,
_QuestInfoSectionSupport = function(controlTable)
local self = Wholly
local WDB = WhollyDatabase
local innorItem, indentation, index, useIndex2, index2 = controlTable.innorItem, controlTable.indentation, controlTable.index, controlTable.useIndex2, controlTable.pipeIndex
local commaCount, orIndex, pipeCount, pipeIndex = controlTable.commaCount, controlTable.orIndex, controlTable.pipeCount, controlTable.pipeIndex
-- local index2String = useIndex2 and ("("..index2..")") or ""
local orString = (0 < commaCount) and "("..orIndex..")" or ""
local pipeString = (0 < pipeCount) and "("..pipeIndex..")" or ""
local code, subcode, numeric = Grail:CodeParts(innorItem)
local classification = Grail:ClassificationOfQuestCode(innorItem, nil, WDB.buggedQuestsConsideredUnobtainable)
local wSpecial = false
if 'V' == code or 'W' == code or 'w' == code then
wSpecial, numeric = true, ''
elseif 'T' == code or 't' == code then
local reputationName, reputationLevelName = Grail:ReputationNameAndLevelName(subcode, numeric)
if 't' == code then
reputationLevelName = "< " .. reputationLevelName
end
numeric = format("|c%s%s|r", WDB.color[classification], reputationLevelName)
elseif 'U' == code or 'u' == code then
local reputationName, reputationLevelName = Grail:FriendshipReputationNameAndLevelName(subcode, numeric)
if 'u' == code then
reputationLevelName = "< " .. reputationLevelName
end
numeric = format("|c%s%s|r", WDB.color[classification], reputationLevelName)
elseif ('G' == code or 'z' == code) and Grail.GarrisonBuildingLevelString then
numeric = Grail:GarrisonBuildingLevelString(numeric)
elseif ('K' == code or 'k' == code) then
if numeric > 100000000 then numeric = numeric - 100000000 end
end
self:_AddLine(indentation..orString..pipeString..self:_PrettyQuestString({ innorItem, classification }), numeric)
if wSpecial then
local cacheTable = Grail.questStatusCache['G'][subcode]
if cacheTable then
for _, questId in pairs(cacheTable) do
self:_AddLine(indentation.." "..self:_PrettyQuestString({ questId, Grail:ClassificationOfQuestCode(questId, nil, WDB.buggedQuestsConsideredUnobtainable) }), questId)
end
else
print("Grail error because no group quest cache for prerequisite code", innorItem)
end
end
end,
_QuestInfoTurninSection = function(self, heading, table)
if nil == table then return end
self:_AddLine(" ")
self:_AddLine(heading)
for key, value in pairs(table) do
if "table" == type(value) and 2 == #value then
self:_AddLine(Grail:NPCName(value[1]), self:_PrettyQuestString({ value[2], Grail:ClassificationOfQuestCode(value[2], nil, WhollyDatabase.buggedQuestsConsideredUnobtainable) }).." "..value[2])
else
self:_AddLine("Internal Error with OTC: ", value)
end
end
end,
_QuestName = function(self, questId)
return Grail:QuestName(questId) or "NO NAME"
end,
_QuestTypeString = function(self, questId)
local retval = ""
local bitValue = Grail:CodeType(questId)
if bitValue > 0 then
if bitband(bitValue, Grail.bitMaskQuestRepeatable) > 0 then retval = retval .. self.s.REPEATABLE .. " " end
if bitband(bitValue, Grail.bitMaskQuestDaily) > 0 then retval = retval .. self.s.DAILY .. " " end
if bitband(bitValue, Grail.bitMaskQuestWeekly) > 0 then retval = retval .. self.s.WEEKLY .. " " end
if bitband(bitValue, Grail.bitMaskQuestMonthly) > 0 then retval = retval .. self.s.MONTHLY .. " " end
if bitband(bitValue, Grail.bitMaskQuestYearly) > 0 then retval = retval .. self.s.YEARLY .. " " end
if bitband(bitValue, Grail.bitMaskQuestEscort) > 0 then retval = retval .. self.s.ESCORT .. " " end
if bitband(bitValue, Grail.bitMaskQuestDungeon) > 0 then retval = retval .. self.s.DUNGEON .. " " end
if bitband(bitValue, Grail.bitMaskQuestRaid) > 0 then retval = retval .. self.s.RAID .. " " end
if bitband(bitValue, Grail.bitMaskQuestPVP) > 0 then retval = retval .. self.s.PVP .. " " end
if bitband(bitValue, Grail.bitMaskQuestGroup) > 0 then retval = retval .. self.s.GROUP .. " " end
if bitband(bitValue, Grail.bitMaskQuestHeroic) > 0 then retval = retval .. self.s.HEROIC .. " " end
if bitband(bitValue, Grail.bitMaskQuestScenario) > 0 then retval = retval .. self.s.SCENARIO .. " " end
if bitband(bitValue, Grail.bitMaskQuestLegendary) > 0 then retval = retval .. self.s.LEGENDARY .. " " end
if Grail.bitMaskQuestAccountWide and bitband(bitValue, Grail.bitMaskQuestAccountWide) > 0 then retval = retval .. self.s.ACCOUNT .. " " end
if bitband(bitValue, Grail.bitMaskQuestPetBattle) > 0 then retval = retval .. self.s.PET_BATTLES .. " " end
if bitband(bitValue, Grail.bitMaskQuestBonus) > 0 then retval = retval .. self.s.BONUS_OBJECTIVE .. " " end
if bitband(bitValue, Grail.bitMaskQuestRareMob) > 0 then retval = retval .. self.s.RARE_MOBS .. " " end
if bitband(bitValue, Grail.bitMaskQuestTreasure) > 0 then retval = retval .. self.s.TREASURE .. " " end
if bitband(bitValue, Grail.bitMaskQuestWorldQuest) > 0 then retval = retval .. self.s.WORLD_QUEST .. " " end
end
return trim(retval)
end,
-- This records into the npcs table all those NPCs whose tooltips need to be augmented with quest information for the provided mapId.
_RecordTooltipNPCs = function(self, mapId)
local questsInMap = self:_ClassifyQuestsInMap(mapId) or {}
local questId, locations
for i = 1, #questsInMap do
questId = questsInMap[i][1]
if self:_FilterQuestsBasedOnSettings(questId) then
locations = Grail:QuestLocationsAccept(questId, false, false, true, mapId, true)
if nil ~= locations then
for _, npc in pairs(locations) do
local xcoord, ycoord, npcName, npcId = npc.x, npc.y, npc.name, npc.id
if nil ~= xcoord then
-- record the NPC as needing a tooltip note for the specific quest (it can be a redirect because an actual "NPC" may be the item that starts the quest)
local shouldProcess, kindsOfNPC = Grail:IsTooltipNPC(npcId)
if shouldProcess then
for i = 1, #(kindsOfNPC), 1 do
local npcIdToUse = tonumber(npcId)
local shouldAdd = true
if kindsOfNPC[i][1] == Grail.NPC_TYPE_DROP then
shouldAdd = self:_DroppedItemMatchesQuest(kindsOfNPC[i][2], questId)
end
if kindsOfNPC[i][1] == Grail.NPC_TYPE_BY then npcIdToUse = tonumber(kindsOfNPC[i][2]) end
if nil == self.npcs[npcIdToUse] then self.npcs[npcIdToUse] = {} end
if shouldAdd and not tContains(self.npcs[npcIdToUse], questId) then tinsert(self.npcs[npcIdToUse], questId) end
end
end
end
end
end
end
end
self.checkedNPCs[mapId] = true
end,
-- This walks through the persistent information about groups of waypoints and reinstates
-- them since our directional arrows we do not have TomTom make persistent.
_ReinstateDirectionalArrows = function(self)
local WDB = WhollyDatabase
if nil == WDB.waypointGrouping then return end
for groupNumber, t in pairs(WDB.waypointGrouping) do
if 0 == #t then
WDB.waypointGrouping[groupNumber] = nil
else
local t1 = {}
local npcType = 'A'
local codeLen
for _, code in pairs(t) do
codeLen = strlen(code)
tinsert(t1, strsub(code, 1, codeLen - 1))
npcType = strsub(code, codeLen, codeLen)
end
self:_AddDirectionalArrows(t1, npcType, groupNumber)
end
end
end,
_RemoveAllDirectionalArrows = function(self)
for code, t in pairs(self.waypoints) do
WhollyDatabase.waypointGrouping[t.grouping] = nil
end
self.waypoints = {}
end,
-- This uses the TomTom sense of uid to remove that waypoint and any others that were added
-- in the same grouping of waypoints.
_RemoveDirectionalArrows = function(self, uid)
local foundGrouping = nil
local WDB = WhollyDatabase
local TomTom = TomTom
for code, t in pairs(self.waypoints) do
if t.uids and tContains(t.uids, uid) then
foundGrouping = t.grouping
end
end
if nil ~= foundGrouping then
for _, code in pairs(WDB.waypointGrouping[foundGrouping]) do
for _, uid in pairs(Wholly.waypoints[code].uids) do
self.removeWaypointFunction(TomTom, uid)
end
end
WDB.waypointGrouping[foundGrouping] = nil
end
end,
_ResetColors = function(self)
local WDB = WhollyDatabase
WDB.color = {}
for code, colorCode in pairs(self.color) do
WDB.color[code] = colorCode
end
self:_ColorUpdateAllPreferenceText()
end,
ScrollFrame_OnLoad = function(self, frame)
HybridScrollFrame_OnLoad(frame)
frame.update = Wholly.ScrollFrame_Update_WithCombatCheck
HybridScrollFrame_CreateButtons(frame, "com_mithrandir_whollyButtonTemplate")
end,
ScrollFrameOne_OnLoad = function(self, frame)
HybridScrollFrame_OnLoad(frame)
frame.update = Wholly.ScrollFrameOne_Update
HybridScrollFrame_CreateButtons(frame, "com_mithrandir_whollyButtonOneTemplate")
end,
ScrollFrameTwo_OnLoad = function(self, frame)
HybridScrollFrame_OnLoad(frame)
frame.update = Wholly.ScrollFrameTwo_Update
HybridScrollFrame_CreateButtons(frame, "com_mithrandir_whollyButtonTwoTemplate")
end,
ScrollFrame_Update_WithCombatCheck = function(self)
if not InCombatLockdown() then
Wholly:ScrollFrame_Update()
else
self.combatScrollUpdate = true
self.notificationFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
end
end,
ScrollFrameOne_Update = function(self)
-- self = self or Wholly
self = Wholly
self:ScrollFrameGeneral_Update(self.levelOneData, com_mithrandir_whollyFrameWideScrollOneFrame)
end,
ScrollFrameTwo_Update = function(self)
-- self = self or Wholly
self = Wholly
self:_InitializeLevelTwoData()
self:ScrollFrameGeneral_Update(self.levelTwoData, com_mithrandir_whollyFrameWideScrollTwoFrame)
end,
_SearchFrameShow = function(self, reallyTags)
com_mithrandir_whollySearchFrame.processingTags = reallyTags
local titleToUse = reallyTags and self.s.TAGS_NEW or SEARCH
com_mithrandir_whollySearchFrameTitle:SetText(titleToUse)
com_mithrandir_whollySearchFrame:Show()
end,
SetupScrollFrameButton = function(self, buttonIndex, numButtons, buttons, shownEntries, scrollOffset, item, isHeader, indent, scrollFrame)
if shownEntries > scrollOffset and buttonIndex <= numButtons then
local button = buttons[buttonIndex]
local indentation = indent and " " or ""
button.normalText:SetText(indentation .. item.displayName)
button.tag:SetText(self.cachedMapCounts[item.mapID])
if WhollyDatabase.showQuestCounts then
button.tag:Show()
else
button.tag:Hide()
end
if isHeader then
if WhollyDatabase.closedHeaders[item.header] then
button:SetNormalTexture("Interface\\Buttons\\UI-PlusButton-Up")
else
button:SetNormalTexture("Interface\\Buttons\\UI-MinusButton-Up")
end
else
button:SetNormalTexture("")
end
button.item = item
local f
if scrollFrame == com_mithrandir_whollyFrameWideScrollOneFrame then
f = com_mithrandir_whollyFrameWideScrollOneFrameLogHighlightFrame
else
f = com_mithrandir_whollyFrameWideScrollTwoFrameLogHighlightFrame
end
if item.selected then
f:SetParent(button)
f:SetPoint("TOPLEFT", button, "TOPLEFT", 0, 0)
f:SetPoint("BOTTOMRIGHT", button, "BOTTOMRIGHT", 0, 0)
f:Show()
else
if f:GetParent() == button then
f:Hide()
end
end
button:Show()
buttonIndex = buttonIndex + 1
end
return buttonIndex
end,
-- This technique uses marching through the data to update the buttons.
-- This is done because some of our data may be closed, and in any case any of the headings
-- that are open need to be processed differently.
ScrollFrameGeneral_Update = function(self, items, frame)
local numEntries = items and #items or 0
local shownEntries = 0
local buttons = frame.buttons
local numButtons = #buttons
local scrollOffset = HybridScrollFrame_GetOffset(frame)
local buttonHeight = buttons[1]:GetHeight()
local button, itemIndex
local buttonIndex = 1
-- Go through the data and put it into the buttons based on where the scrolling is within
-- the data, and based on what headers are open or closed.
for i = 1, numEntries do
if items[i].header then -- a header
shownEntries = shownEntries + 1
buttonIndex = self:SetupScrollFrameButton(buttonIndex, numButtons, buttons, shownEntries, scrollOffset, items[i], true, false, frame)
if not WhollyDatabase.closedHeaders[items[i].header] then
for j = 1, #(items[i].children) do
shownEntries = shownEntries + 1
buttonIndex = self:SetupScrollFrameButton(buttonIndex, numButtons, buttons, shownEntries, scrollOffset, items[i].children[j], false, true, frame)
end
end
else -- a normal entry
shownEntries = shownEntries + 1
buttonIndex = self:SetupScrollFrameButton(buttonIndex, numButtons, buttons, shownEntries, scrollOffset, items[i], false, false, frame)
end
end
-- Now any remaining buttons in the UI should be hidden
for i = buttonIndex, numButtons do
buttons[i]:Hide()
end
-- How have the scroll frame update itself
HybridScrollFrame_Update(frame, shownEntries * buttonHeight, numButtons * buttonHeight)
end,
ScrollFrame_Update = function(self)
self = self or Wholly
self:_FilterPanelQuests()
local questsInMap = self.filteredPanelQuests
local numEntries = #questsInMap
local buttons = com_mithrandir_whollyFrameScrollFrame.buttons
local numButtons = #buttons
local scrollOffset = HybridScrollFrame_GetOffset(com_mithrandir_whollyFrameScrollFrame)
local buttonHeight = buttons[1]:GetHeight();
local button, questIndex, questId, questLevelString, requiredLevelString, colorCode, questLevel, filterCode, repeatableCompletedString
local shouldShowTag
tablesort(questsInMap, Wholly.SortingFunction)
for i = 1, numButtons do
button = buttons[i]
questIndex = i + scrollOffset
if questIndex <= numEntries then
questId = questsInMap[questIndex][1]
filterCode = questsInMap[questIndex][2]
button.normalText:SetText(self:_PrettyQuestString(questsInMap[questIndex]))
shouldShowTag = false
if 'I' == filterCode and WhollyDatabase.showsInLogQuestStatus and WhollyDatabase.showsQuestsInLog then
local questStatus = Grail:StatusCode(questId)
local statusText = nil
shouldShowTag = true
if bitband(questStatus, Grail.bitMaskInLogComplete) > 0 then statusText = self.s.COMPLETE
elseif bitband(questStatus, Grail.bitMaskInLogFailed) > 0 then statusText = self.s.FAILED
else shouldShowTag = false
end
if nil ~= statusText then
button.tag:SetText("(" .. statusText .. ")")
end
end
if not shouldShowTag and self:_IsIgnoredQuest(questId) then
button.tag:SetText("[" .. self.s.IGNORED .. "]")
shouldShowTag = true
end
if shouldShowTag then button.tag:Show() else button.tag:Hide() end
button.questId = questId
button.statusCode = filterCode
button:Show()
else
button:Hide()
end
end
HybridScrollFrame_Update(com_mithrandir_whollyFrameScrollFrame, numEntries * buttonHeight, numButtons * buttonHeight)
end,
ScrollOneClick = function(self, button)
if button.item.header then
local which = button.item.header
if WhollyDatabase.closedHeaders[which] then
WhollyDatabase.closedHeaders[which] = nil
else
WhollyDatabase.closedHeaders[which] = true
end
self:ScrollFrameOne_Update()
else
if self.levelOneCurrent ~= button.item then
self.zoneInfo.panel.mapId = nil
self:_SetLevelTwoCurrent(nil)
self:_ForcePanelMapArea(true)
end
self:_SetLevelOneCurrent(button.item)
self:ScrollFrameOne_Update()
self:ScrollFrameTwo_Update()
end
end,
ScrollTwoClick = function(self, button)
self:_SetLevelTwoCurrent(button.item)
if button.item.f then
button.item.f()
else
self.zoneInfo.panel.mapId = button.item.mapID
self.zoneInfo.panel.dungeonLevel = 0
self:_ForcePanelMapArea(true)
end
self:ScrollFrameTwo_Update() -- to update selection
end,
SearchEntered = function(self)
local searchText = com_mithrandir_whollySearchEditBox:GetText()
com_mithrandir_whollySearchEditBox:SetText("")
com_mithrandir_whollySearchFrame:Hide()
-- Remove leading and trailing whitespace
searchText = trim(searchText)
if searchText and "" ~= searchText then
if com_mithrandir_whollySearchFrame.processingTags then
WhollyDatabase.tags = WhollyDatabase.tags or {}
WhollyDatabase.tags[searchText] = WhollyDatabase.tags[searchText] or {}
else
if nil == WhollyDatabase.searches then WhollyDatabase.searches = {} end
tinsert(WhollyDatabase.searches, searchText)
if #(WhollyDatabase.searches) > self.maximumSearchHistory then
tremove(WhollyDatabase.searches, 1)
end
self:SearchForQuestNamesMatching(searchText)
self.zoneInfo.panel.mapId = 0
self.justAddedSearch = true
end
self:_ForcePanelMapArea(true)
self:ScrollFrameTwo_Update()
end
end,
-- TODO: Cause the loadable addons to be loaded if they are not already done so for any search...use the current locale
SearchForAllQuests = function(self)
Grail:SetMapAreaQuests(0, SEARCH .. ' ' .. Wholly.s.SEARCH_ALL_QUESTS, Grail.quest.name, true)
end,
SearchForQuestNamesMatching = function(self, searchTerm)
-- the searchTerm is broken up by spaces which are considered AND conditions
local terms = { strsplit(" ", searchTerm) }
local results = {}
local started = false
for i = 1, #terms do
if terms[i] ~= "" then
if not started then
for qid, questName in pairs(Grail.quest.name) do
if strfind(questName, terms[i]) then tinsert(results, qid) end
end
started = true
else
local newResults = {}
for _, q in pairs(results) do
if strfind(Grail.quest.name[q], terms[i]) then tinsert(newResults, q) end
end
results = newResults
end
end
end
-- clear the mapArea 0 because that is what we use for computed results
Grail:SetMapAreaQuests(0, SEARCH .. ': ' .. searchTerm, results)
end,
SearchForQuestsWithTag = function(self, tagName)
local results = {}
local questId
if WhollyDatabase.tags then
for k, v in pairs(WhollyDatabase.tags[tagName]) do
for i = 0, 31 do
if bitband(v, 2^i) > 0 then
questId = k * 32 + i + 1
if not tContains(results, questId) then tinsert(results, questId) end
end
end
end
end
Grail:SetMapAreaQuests(0, Wholly.s.TAGS .. ': ' .. tagName, results)
end,
-- This is really setting to the current map
SetCurrentMapToPanel = function(self, frame) -- called by pressing the Zone button in the UI
self:UpdateQuestCaches(false, false, true)
self:ZoneButtonEnter(frame) -- need to update the tooltip which is showing
end,
SetCurrentZoneToPanel = function(self, frame)
self:UpdateQuestCaches(false, false, true, true)
end,
_SetLevelOneCurrent = function(self, newValue)
if self.levelOneCurrent ~= newValue then
if self.levelOneCurrent ~= nil then
self.levelOneCurrent.selected = nil
end
self.levelOneCurrent = newValue
if newValue ~= nil then
newValue.selected = true
end
end
end,
_SetLevelTwoCurrent = function(self, newValue)
if self.levelTwoCurrent ~= newValue then
if self.levelTwoCurrent ~= nil then
self.levelTwoCurrent.selected = nil
end
self.levelTwoCurrent = newValue
if newValue ~= nil then
newValue.selected = true
end
end
end,
ShowBreadcrumbInfo = function(self)
local questId = self:_BreadcrumbQuestId()
local breadcrumbs = Grail:AvailableBreadcrumbs(questId)
com_mithrandir_whollyBreadcrumbFrame:Hide()
com_mithrandir_whollyQuestInfoFrameText:SetText(questId)
self:UpdateBuggedText(questId)
if nil ~= breadcrumbs then
if 1 == #breadcrumbs then com_mithrandir_whollyBreadcrumbFrameMessage:SetText(self.s.SINGLE_BREADCRUMB_FORMAT)
else com_mithrandir_whollyBreadcrumbFrameMessage:SetText(format(self.s.MULTIPLE_BREADCRUMB_FORMAT, #breadcrumbs))
end
com_mithrandir_whollyBreadcrumbFrame:Show()
end
end,
ShowPin = function(self, questTable)
local codeMapping = { ['G'] = 1, ['W'] = 2, ['D'] = 3, ['R'] = 4, ['K'] = 5, ['H'] = 6, ['Y'] = 7, ['P'] = 8, ['L'] = 9, ['O'] = 10, ['U'] = 11, }
local id = questTable[1]
local code = questTable[2]
if 'D' == code and Grail:IsRepeatable(id) then code = 'R' end
local codeValue = codeMapping[code]
local locations = Grail:QuestLocationsAccept(id, false, false, true, self.zoneInfo.pins.mapId, true, self.zoneInfo.pins.dungeonLevel)
if nil ~= locations then
for _, npc in pairs(locations) do
local xcoord, ycoord, npcName, npcId = npc.x, npc.y, npc.name, npc.id
if nil ~= xcoord then
if not self.checkingNPCTechniqueNew then
-- record the NPC as needing a tooltip note for the specific quest (it can be a redirect because an actual "NPC" may be the item that starts the quest)
local shouldProcess, kindsOfNPC = Grail:IsTooltipNPC(npcId)
if shouldProcess then
for i = 1, #(kindsOfNPC), 1 do
local npcIdToUse = npcId
local shouldAdd = true
if kindsOfNPC[i][1] == Grail.NPC_TYPE_DROP then
shouldAdd = self:_DroppedItemMatchesQuest(kindsOfNPC[i][2], id)
end
if kindsOfNPC[i][1] == Grail.NPC_TYPE_BY then npcIdToUse = tonumber(kindsOfNPC[i][2]) end
if nil == self.npcs[npcIdToUse] then self.npcs[npcIdToUse] = {} end
if shouldAdd and not tContains(self.npcs[npcIdToUse], id) then tinsert(self.npcs[npcIdToUse], id) end
end
end
end
for index, frame in pairs(self.supportedMaps) do
if frame then
local pin = self:_GetPin(npcId, frame)
local pinValue = codeMapping[pin.texType]
if codeValue < pinValue then
pin:SetType(code)
end
pin:ClearAllPoints()
pin.questId = id
if frame ~= NxMap1 then
local baseFrameLevel = self.supportedPOIMaps[index]:GetFrameLevel()
local releaseDelta = (not Grail.existsWoD) and -1 or 1
local pinTypeDelta = (pin.texType == 'G' or pin.texType == 'W') and 1 or 0
pin:SetFrameStrata("DIALOG") -- treasure map icons still rule when I am set to this level
pin:SetFrameStrata("TOOLTIP")
pin:SetFrameLevel(baseFrameLevel + releaseDelta + pinTypeDelta)
pin:SetPoint("CENTER", frame, "TOPLEFT", xcoord/100*frame:GetWidth(), -ycoord/100*frame:GetHeight())
pin:Show()
else
Nx.MapAddIcon(pin.questId, self.zoneInfo.pins.mapId, xcoord, ycoord, nil, pin) -- requires modified Carbonite to work properly
end
self.pins[frame]["ids"][id..":"..npcId] = pin
end
end
end
end
end
end,
ShowTooltip = function(self, pin)
local WDB = WhollyDatabase
local listedQuests = {}
self.tooltip:SetOwner(pin, "ANCHOR_RIGHT")
self.tooltip:ClearLines()
local parentFrame = pin:GetParent()
-- find all quests in range of hover
local mx, my = self:_GetMousePosition(parentFrame)
local npcList = {}
local npcNames = {}
local questsInMap = self.filteredPinQuests
local questId
for i = 1, #questsInMap do
questId = questsInMap[i][1]
local locations = Grail:QuestLocationsAccept(questId, false, false, true, self.zoneInfo.pins.mapId, true, self.zoneInfo.pins.dungeonLevel)
if nil ~= locations then
for _, npc in pairs(locations) do
if nil ~= npc.x then
local dist = self:_Distance(parentFrame, mx, my, npc.x/100, npc.y/100)
if dist <= 0.02 or (NxMap1 == parentFrame and npc.id == pin.npcId) then
if not npcList[npc.id] then
npcList[npc.id] = {}
local nameToUse = npc.name
if npc.dropName then
nameToUse = nameToUse .. " (" .. npc.dropName .. ')'
end
npcNames[npc.id] = self:_PrettyNPCString(nameToUse, npc.kill, npc.realArea)
end
tinsert(npcList[npc.id], questsInMap[i])
end
end
end
end
end
local first = true
for npc, questList in pairs(npcList) do
if not first then
self.tooltip:AddLine(" ")
else
first = false
end
for _, qt in ipairs(questList) do
local leftStr = self:_PrettyQuestString(qt)
local q = qt[1]
local rightStr = self:_QuestTypeString(q)
if strlen(rightStr) > 0 then rightStr = format("|c%s%s|r", WDB.color[qt[2]], rightStr) end
-- check if already printed - this is for spam quests like the human starting area that haven't been labeled correctly
if not questName or not listedQuests[questName] then
self.tooltip:AddDoubleLine(leftStr, rightStr)
self.tooltip:SetLastFont(self.tooltip.large)
self.tooltip:SetLastFont(self.tooltip.small, true)
if questName then listedQuests[questName] = true end
end
end
self.tooltip:AddLine(npcNames[npc], 1, 1, 1, 1)
self.tooltip:SetLastFont(self.tooltip.small)
end
self.tooltip:Show();
end,
SlashCommand = function(self, frame, msg)
self:ToggleUI()
end,
Sort = function(self, frame)
-- This is supposed to cycle through the supported sorting techniques and make the contents of the panel
-- show the quests based on those techniques.
-- 1 Quest alphabetical
-- 2 Quest level (and then alphabetical)
-- 3 Quest level, then type, then alphabetical
-- 4 Quest type (and then alphabetical)
-- 5 Quest type, then level, then alphabetical
WhollyDatabase.currentSortingMode = WhollyDatabase.currentSortingMode + 1
if (WhollyDatabase.currentSortingMode > 5) then WhollyDatabase.currentSortingMode = 1 end
self:ScrollFrame_Update_WithCombatCheck()
self:SortButtonEnter(frame) -- to update the tooltip with the new sorting info
end,
SortButtonEnter = function(self, frame)
local sortModes = {
[1] = self.s.ALPHABETICAL,
[2] = self.s.LEVEL..", "..self.s.ALPHABETICAL,
[3] = self.s.LEVEL..", "..self.s.TYPE..", "..self.s.ALPHABETICAL,
[4] = self.s.TYPE..", "..self.s.ALPHABETICAL,
[5] = self.s.TYPE..", "..self.s.LEVEL..", "..self.s.ALPHABETICAL,
}
GameTooltip:ClearLines()
GameTooltip:SetOwner(frame, "ANCHOR_RIGHT")
GameTooltip:AddLine(sortModes[WhollyDatabase.currentSortingMode])
GameTooltip:Show()
GameTooltip:ClearAllPoints()
end,
SortingFunction = function(a, b)
local retval = false
if 1 == WhollyDatabase.currentSortingMode then
retval = Wholly:_QuestName(a[1]) < Wholly:_QuestName(b[1])
elseif 2 == WhollyDatabase.currentSortingMode then
local aLevel, bLevel = Grail:QuestLevel(a[1]) or 1, Grail:QuestLevel(b[1]) or 1
if aLevel == bLevel then
retval = Wholly:_QuestName(a[1]) < Wholly:_QuestName(b[1])
else
retval = aLevel < bLevel
end
elseif 3 == WhollyDatabase.currentSortingMode then
local aLevel, bLevel = Grail:QuestLevel(a[1]) or 1, Grail:QuestLevel(b[1]) or 1
if aLevel == bLevel then
local aCode, bCode = a[2], b[2]
if aCode == bCode then
retval = Wholly:_QuestName(a[1]) < Wholly:_QuestName(b[1])
else
retval = aCode < bCode
end
else
retval = aLevel < bLevel
end
elseif 4 == WhollyDatabase.currentSortingMode then
local aCode, bCode = a[2], b[2]
if aCode == bCode then
retval = Wholly:_QuestName(a[1]) < Wholly:_QuestName(b[1])
else
retval = aCode < bCode
end
elseif 5 == WhollyDatabase.currentSortingMode then
local aCode, bCode = a[2], b[2]
if aCode == bCode then
local aLevel, bLevel = Grail:QuestLevel(a[1]) or 1, Grail:QuestLevel(b[1]) or 1
if aLevel == bLevel then
retval = Wholly:_QuestName(a[1]) < Wholly:_QuestName(b[1])
else
retval = aLevel < bLevel
end
else
retval = aCode < bCode
end
end
return retval
end,
_TagDelete = function(self)
local menu = {}
local menuItem
if WhollyDatabase.tags then
for tagName, questTable in pairs(WhollyDatabase.tags) do
menuItem = { text = tagName, isNotRadio = true }
menuItem.func = function(self, arg1, arg2, checked) Wholly:_TagDeleteConfirm(tagName) end
tinsert(menu, menuItem)
end
end
tablesort(menu, function(a, b) return a.text < b.text end)
tinsert(menu, 1, { text = Wholly.s.TAGS_DELETE, isTitle = true })
EasyMenu(menu, self.easyMenuFrame, self.easyMenuFrame, 0, 0, "MENU")
end,
_TagDeleteConfirm = function(self, tagName)
local dialog = StaticPopup_Show("com_mithrandir_whollyTagDelete", tagName)
if dialog then dialog.data = tagName end
end,
_TagProcess = function(self, questId)
local menu = {}
local menuItem
if WhollyDatabase.tags then
for tagName, questTable in pairs(WhollyDatabase.tags) do
menuItem = { text = tagName, isNotRadio = true }
menuItem.checked = Grail:_IsQuestMarkedInDatabase(questId, questTable)
menuItem.func = function(self, arg1, arg2, checked) Grail:_MarkQuestInDatabase(questId, WhollyDatabase.tags[tagName], checked) if Wholly.levelOneCurrent.index == 74 and Wholly.levelTwoCurrent.sortName == tagName then Wholly.SearchForQuestsWithTag(Wholly, tagName) Wholly.zoneInfo.panel.mapId = 0 Wholly._ForcePanelMapArea(Wholly, true) end end
tinsert(menu, menuItem)
end
end
tablesort(menu, function(a, b) return a.text < b.text end)
tinsert(menu, 1, { text = Wholly.s.TAGS .. ": " .. self:_QuestName(questId), isTitle = true })
EasyMenu(menu, self.easyMenuFrame, self.easyMenuFrame, 0, 0, "MENU")
end,
ToggleCurrentFrame = function(self)
local isShowing = self.currentFrame:IsShown()
local x, y
if isShowing then
self.currentFrame:Hide() -- Hide the current frame before we manipulate
end
if com_mithrandir_whollyFrame == self.currentFrame then
self.currentFrame = com_mithrandir_whollyFrameWide
x, y = 348, -75
else
self.currentFrame = com_mithrandir_whollyFrame
x, y = 19, -75
end
self.toggleButton:ClearAllPoints()
self.toggleButton:SetParent(self.currentFrame)
com_mithrandir_whollyFrameScrollFrame:ClearAllPoints()
com_mithrandir_whollyFrameScrollFrame:SetParent(self.currentFrame)
com_mithrandir_whollyFrameScrollFrame:SetPoint("TOPLEFT", self.currentFrame, "TOPLEFT", x, y)
if isShowing then
self.currentFrame:Show()
end
com_mithrandir_whollySearchFrame:ClearAllPoints()
com_mithrandir_whollySearchFrame:SetParent(self.currentFrame)
com_mithrandir_whollySearchFrame:SetPoint("BOTTOMLEFT", self.currentFrame, "TOPLEFT", 64, -14)
self.easyMenuFrame:ClearAllPoints()
self.easyMenuFrame:SetParent(self.currentFrame)
self.easyMenuFrame:SetPoint("LEFT", self.currentFrame, "RIGHT")
end,
ToggleIgnoredQuest = function(self)
local desiredQuestId = self.clickingButton.questId
Grail:_MarkQuestInDatabase(desiredQuestId, WhollyDatabase.ignoredQuests, self:_IsIgnoredQuest(desiredQuestId))
end,
ToggleLightHeaded = function(self)
local desiredQuestId = self.clickingButton.questId
if LightHeadedFrame:IsVisible() and LightHeadedFrameSub.qid == desiredQuestId then LightHeadedFrame:Hide() return end
LightHeadedFrame:ClearAllPoints()
LightHeadedFrame:SetParent(self.currentFrame)
-- default to attaching on the right side
local lhSide, whollySide, x, y = "LEFT", "RIGHT", -39, 31
if self.currentFrame == com_mithrandir_whollyFrameWide then
x = -8
y = 0
end
LightHeadedFrame:SetPoint(lhSide, self.currentFrame, whollySide, x, y)
LightHeadedFrame:Show()
LightHeaded:UpdateFrame(desiredQuestId, 1)
end,
ToggleSwitch = function(self, key)
local button = self.preferenceButtons[key]
if nil ~= button then
button:Click()
end
end,
ToggleUI = function(self)
if not self.currentFrame then print(format(self.s.REQUIRES_FORMAT, requiredGrailVersion)) return end
if not InCombatLockdown() then
if self.currentFrame:IsShown() then
self.currentFrame:Hide()
else
self.currentFrame:Show()
end
end
end,
---
-- Sets up the event monitoring to handle those associated with displaying breadcrumb information.
UpdateBreadcrumb = function(self)
if WhollyDatabase.displaysBreadcrumbs then
self.notificationFrame:RegisterEvent("QUEST_DETAIL")
if QuestFrame:IsVisible() then
self:ShowBreadcrumbInfo()
end
else
self.notificationFrame:UnregisterEvent("QUEST_DETAIL")
com_mithrandir_whollyBreadcrumbFrame:Hide()
end
end,
UpdateBuggedText = function(self, questId)
local bugged = Grail:IsBugged(questId)
if bugged then
com_mithrandir_whollyQuestInfoBuggedFrameText:SetText(self.s.BUGGED)
else
com_mithrandir_whollyQuestInfoBuggedFrameText:SetText("")
end
end,
UpdateCoordinateSystem = function(self)
if WhollyDatabase.enablesPlayerCoordinates and not Grail:IsInInstance() then
self.notificationFrame:SetScript("OnUpdate", function(frame, ...) self:_OnUpdate(frame, ...) end)
else
self.notificationFrame:SetScript("OnUpdate", nil)
if nil ~= self.coordinates then
self.coordinates.text = ""
end
self.previousX = 0
end
end,
_UpdatePins = function(self, forceUpdate)
-- Set the current mapId to be something it cannot be normally to force an update
if forceUpdate then
self.zoneInfo.pins.mapId = -123
end
-- Only do work if the world map is visible
local mapWeSupportIsVisible = false
for _, frame in pairs(self.supportedControlMaps) do
if frame and frame:IsVisible() then
mapWeSupportIsVisible = true
break
end
end
if mapWeSupportIsVisible then
local pinsShouldBeReclassified = (self.zoneInfo.pins.mapId ~= self.zoneInfo.map.mapId) or (self.zoneInfo.pins.dungeonLevel ~= self.zoneInfo.map.dungeonLevel)
-- If we are not displaying pins or if anything has changed since we last displayed
-- pins, we need to hide (remove from the map) all the current pins.
if not WhollyDatabase.displaysMapPins or pinsShouldBeReclassified or self.pinsNeedFiltering then
self:_HideAllPins()
end
-- If we are displaying pins and something has changed since we last displayed
-- pins, we need to display all the current pins.
if WhollyDatabase.displaysMapPins and (pinsShouldBeReclassified or self.pinsNeedFiltering or self.pinsDisplayedLast ~= WhollyDatabase.displaysMapPins) then
self.zoneInfo.pins.mapId = self.zoneInfo.map.mapId
self.zoneInfo.pins.dungeonLevel = self.zoneInfo.map.dungeonLevel
if pinsShouldBeReclassified then
self.cachedPinQuests = self:_ClassifyQuestsInMap(self.zoneInfo.pins.mapId) or {}
end
self:_FilterPinQuests()
self.pinsNeedFiltering = false
local questsInMap = self.filteredPinQuests
for i = 1, #questsInMap do
self:ShowPin(questsInMap[i])
end
else
self.mapCountLine = "" -- do not display a tooltip for pins we are not showing
end
self.pinsDisplayedLast = WhollyDatabase.displaysMapPins
end
end,
UpdateQuestCaches = function(self, forceUpdate, setPinMap, setPanelMap, useCurrentZone)
if not Grail:IsPrimed() then return end
local masterTable = useCurrentZone and self.zoneInfo.zone or self.zoneInfo.map
if masterTable.mapId ~= self.zoneInfo.panel.mapId or forceUpdate then
if setPanelMap then
self.zoneInfo.panel.mapId = masterTable.mapId
self.zoneInfo.panel.dungeonLevel = masterTable.dungeonLevel
end
self:_ForcePanelMapArea(not setPanelMap)
end
end,
-- This is called because we are hooking secure functions to call it
_UserChangedMap = function(blizzardButton)
Wholly.zoneInfo.map.mapId = GetCurrentMapAreaID()
Wholly.zoneInfo.map.dungeonLevel = GetCurrentMapDungeonLevel()
Wholly:_UpdatePins()
end,
ZoneButtonEnter = function(self, frame)
GameTooltip:ClearLines()
GameTooltip:SetOwner(frame, "ANCHOR_RIGHT")
GameTooltip:AddLine(Wholly.panelCountLine)
GameTooltip:Show()
GameTooltip:ClearAllPoints()
end,
}
local locale = GetLocale()
local S = Wholly.s
if "deDE" == locale then
S["ABANDONED"] = "Abgebrochen"
S["ACCEPTED"] = "Angenommen"
S["ACHIEVEMENT_COLORS"] = "Zeige Farben je nach Erfolgs-Vervollständigung"
S["ADD_ADVENTURE_GUIDE"] = "In allen Gebieten die Quests aus dem Abenteuerführer anzeigen"
S["ALL_FACTION_REPUTATIONS"] = "Alle Fraktionsrufe anzeigen"
S["APPEND_LEVEL"] = "Erforderliche Stufe anhängen"
S["BASE_QUESTS"] = "Hauptquests"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Kartenpunkte umschalten."
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Abgeschlossene Quests anzeigen ein/aus"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Tägliche Quests anzeigen ein/aus"
BINDING_NAME_WHOLLY_TOGGLESHOWLOREMASTER = "Meister der Lehren-Quests anzeigen"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Voraussetzungen anzeigen ein/aus"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Wiederholbare Quests anzeigen ein/aus"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Anzeige \"Unerreichbares\" umschalten."
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Wöchentliche Quests anzeigen ein/aus"
BINDING_NAME_WHOLLY_TOGGLESHOWWORLDQUESTS = "Weltquests anzeigen"
S["BLIZZARD_TOOLTIP"] = "QuickInfos werden im Blizzard-Questlog angezeigt"
S["BREADCRUMB"] = "Brotkrumen-Quests:"
S["BUGGED"] = "*** FEHLERHAFT ***"
S["BUGGED_UNOBTAINABLE"] = "Fehlerhafte, wahrscheinlich unerfüllbare Quests"
S["BUILDING"] = "Gebäude"
S["CHRISTMAS_WEEK"] = "Weihnachtswoche (inkl. Winterhauchfest)"
S["CLASS_ANY"] = "Jede"
S["CLASS_NONE"] = "Keine"
S["COMPLETED"] = "Abgeschlossen"
S["COMPLETION_DATES"] = "Fertigstellungstermine"
S["DROP_TO_START_FORMAT"] = "Dropt %s, um [%s] zu starten"
S["EMPTY_ZONES"] = "Leere Zonen anzeigen"
S["ENABLE_COORDINATES"] = "Anzeige der Spielerkoordinaten"
S["ENTER_ZONE"] = "Annahme, wenn Kartenbereich erreicht wird"
S["ESCORT"] = "Eskorte"
S["EVER_CAST"] = "Wurde schon mal vom Spieler irgendwann benutzt."
S["EVER_COMPLETED"] = "Wurde bereits abgeschlossen"
S["EVER_EXPERIENCED"] = "Wurde schon mal auf den Spieler irgendwann benutzt."
S["FACTION_BOTH"] = "Beide"
S["FIRST_PREREQUISITE"] = "Erster in einer Questreihe"
S["GENDER"] = "Geschlecht"
S["GENDER_BOTH"] = "Beide"
S["GENDER_NONE"] = "Keins"
S["GRAIL_NOT_HAVE"] = "Grail kennt diese Quest nicht"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Blizzards Bonusziele ausblenden"
S["HIDE_BLIZZARD_WORLD_MAP_DUNGEON_ENTRANCES"] = "Blizzards Instanzeingänge ausblenden"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Blizzards Kartenpunkte für Quests ausblenden"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Blizzards Schätze auf der Weltkarte ausblenden"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Flugpunkte verbergen"
S["HIGH_LEVEL"] = "Hochstufig"
S["HOLIDAYS_ONLY"] = "Verfügbar nur an Feiertagen:"
S["IGNORE_REPUTATION_SECTION"] = "Rufabschnitt bei Quests ignorieren"
S["IN_LOG"] = "Im Log"
S["IN_LOG_STATUS"] = "Status der Quests im Log anzeigen"
S["INVALIDATE"] = "Ungültig durch Quests:"
S["IS_BREADCRUMB"] = "Ist eine Brotkrumen-Quest für:"
S["ITEM"] = "Gegenstand"
S["ITEM_LACK"] = "Gegenstand fehlt"
S["KILL_TO_START_FORMAT"] = "Töte, um [%s] zu starten"
S["LIVE_COUNTS"] = "Sofortige Questanzahl-Aktualisierung"
S["LOAD_DATA"] = "Daten laden"
S["LOREMASTER_AREA"] = "Bereich 'Meister der Lehren'"
S["LOW_LEVEL"] = "Niedrigstufig"
S["MAP"] = "Karte"
S["MAP_BUTTON"] = "Button auf Weltkarte anzeigen"
S["MAP_DUNGEONS"] = "Dungeonquests in Umgebungskarte anzeigen"
S["MAP_PINS"] = "Kartensymbole für Questgeber anzeigen"
S["MAP_UPDATES"] = "Weltkarte aktualisieren, wenn Zone wechselt"
S["MAPAREA_NONE"] = "Keine"
S["MAXIMUM_LEVEL_NONE"] = "Keine"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "%d Brotkrumen-Quests verfügbar"
S["MUST_KILL_PIN_FORMAT"] = "%s [Kill]"
S["NEAR"] = "Naher NPC"
S["NEEDS_PREREQUISITES"] = "Benötigt Voraussetzungen"
S["NEVER_ABANDONED"] = "Niemals abgebrochen"
S["OAC"] = "Bei Annahme fertiggestellte Quests:"
S["OCC"] = "Bei Erfüllung der Voraussetzungen fertiggestellte Quests:"
S["OTC"] = "Beim Abgeben fertiggestellte Quests;"
S["OTHER"] = "Andere"
S["OTHER_PREFERENCE"] = "Sonstiges"
S["PANEL_UPDATES"] = "Questlog aktualisieren, wenn Zone wechselt"
S["PLOT"] = "Grundstück"
S["PREPEND_LEVEL"] = "Queststufe voranstellen"
S["PREREQUISITES"] = "Quests, die Vorraussetzung sind:"
S["QUEST_COUNTS"] = "Zeige Questanzahl"
S["QUEST_ID"] = "Quest-ID:"
S["QUEST_TYPE_NORMAL"] = "Normal"
S["RACE_ANY"] = "Jede"
S["RACE_NONE"] = "Keine"
S["RARE_MOBS"] = "Seltene Gegner"
S["REPEATABLE"] = "Wiederholbar"
S["REPEATABLE_COMPLETED"] = "Zeige, ob wiederholbare Quests bereits abgeschlossen wurden"
S["REPUTATION_REQUIRED"] = "Ruf erforderlich:"
S["REQUIRED_LEVEL"] = "Benötigte Stufe:"
S["REQUIRES_FORMAT"] = "Wholly benötigt Grail-Version %s oder neuer"
S["RESTORE_DIRECTIONAL_ARROWS"] = "Sollte nicht die Richtungspfeile wiederherstellen"
S["SEARCH_ALL_QUESTS"] = "Alle Quests"
S["SEARCH_CLEAR"] = "Suche löschen"
S["SEARCH_NEW"] = "Neue Suche"
S["SELF"] = "Selbst"
S["SHOW_BREADCRUMB"] = "Detaillierte Questinformationen im Questfenster anzeigen"
S["SHOW_LOREMASTER"] = "Zeige nur Meister-der-Lehren-Quests"
S["SINGLE_BREADCRUMB_FORMAT"] = "Brotkrumen-Quest verfügbar"
S["SP_MESSAGE"] = "Spezial-Quests tauchen niemals in Blizzards Quest-Log auf"
S["TAGS"] = "Tags"
S["TAGS_DELETE"] = "Tag entfernen"
S["TAGS_NEW"] = "Tag hinzufügen"
S["TITLE_APPEARANCE"] = "Aussehen der Quests im Questlog"
S["TREASURE"] = "Schatz"
S["TURNED_IN"] = "Abgegeben"
S["UNOBTAINABLE"] = "Unerfüllbar"
S["WHEN_KILL"] = "Annahme beim Töten:"
S["WIDE_PANEL"] = "Breites Wholly-Questfenster"
S["WIDE_SHOW"] = "Zeige"
S["WORLD_EVENTS"] = "Weltereignisse"
S["WORLD_QUEST"] = "Weltquest"
S["YEARLY"] = "Jährlich"
elseif "esES" == locale then
S["ABANDONED"] = "Abandonada"
S["ACCEPTED"] = "Aceptada"
S["ACHIEVEMENT_COLORS"] = "Mostrar colores de finalización de logros"
S["ADD_ADVENTURE_GUIDE"] = "Mostar misiones de Guía de Aventura en todas las zonas"
S["ALL_FACTION_REPUTATIONS"] = "Mostrar reputaciones de todas las facciones"
S["APPEND_LEVEL"] = "Añadir nivel requerido"
S["BASE_QUESTS"] = "Misiones básicas"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Mostrar/ocultar marcas en el mapa"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Mostrar/ocultar misiones completadas"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Mostrar/ocultar misiones diarias"
--Translation missing
BINDING_NAME_WHOLLY_TOGGLESHOWLOREMASTER = "Toggle shows Loremaster quests"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Mostrar/ocultar misiones con prerequisitos obligatorios"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Mostrar/ocultar misiones repetibles"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Mostrar/ocultar misiones no obtenibles"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Mostrar/ocultar misiones semanales"
BINDING_NAME_WHOLLY_TOGGLESHOWWORLDQUESTS = "Alternar visualización de Misiones de Mundos"
S["BLIZZARD_TOOLTIP"] = "Aparecen descripciones emergentes en el Diario de Misión de Blizzard"
S["BREADCRUMB"] = "Cadena de misiones:"
S["BUGGED"] = "*** ERROR ***"
S["BUGGED_UNOBTAINABLE"] = "Misiones con errores consideradas imposibles"
S["BUILDING"] = "Edificio"
S["CHRISTMAS_WEEK"] = "Semana navideña"
S["CLASS_ANY"] = "Cualquiera"
S["CLASS_NONE"] = "Ninguna"
S["COMPLETED"] = "Completada"
S["COMPLETION_DATES"] = "Fechas de conclusión"
S["DROP_TO_START_FORMAT"] = "Deja caer %s que inicia [%s]"
S["EMPTY_ZONES"] = "Mostrar zonas vacías"
S["ENABLE_COORDINATES"] = "Habilitar coordenadas del jugador"
S["ENTER_ZONE"] = "Aceptada al entrar en mapa de la zona"
S["ESCORT"] = "Escoltar"
S["EVER_CAST"] = "Lanzado alguna vez"
S["EVER_COMPLETED"] = "Ha sido completado"
S["EVER_EXPERIENCED"] = "Experimentado alguna vez"
S["FACTION_BOTH"] = "Ambas"
S["FIRST_PREREQUISITE"] = "Primera en la cadena de prerequisitos:"
S["GENDER"] = "Sexo"
S["GENDER_BOTH"] = "Ambos"
S["GENDER_NONE"] = "Ninguno"
S["GRAIL_NOT_HAVE"] = "Grail no tiene esta misión"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Ocultar objetivos de bonificación de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_DUNGEON_ENTRANCES"] = "Ocultar las entradas de mazmorras de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Ocultar marcadores de misión de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Ocultar tesoros de Blizzard"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Ocultar puntos de vuelo"
S["HIGH_LEVEL"] = "Alto nivel"
S["HOLIDAYS_ONLY"] = "Solo disponible durante eventos festivos:"
S["IGNORE_REPUTATION_SECTION"] = "Ignorar sección de reputación de las misiones"
S["IN_LOG"] = "En el registro"
S["IN_LOG_STATUS"] = "Mostrar estado de misión en registro"
S["INVALIDATE"] = "Invalidado por misiones:"
S["IS_BREADCRUMB"] = "Es misión de tránsito para:"
S["ITEM"] = "Objeto"
S["ITEM_LACK"] = "Falta el objeto"
S["KILL_TO_START_FORMAT"] = "Matar para iniciar [%s]"
S["LIVE_COUNTS"] = "Actualizaciones de recuentos de misiones en vivo"
S["LOAD_DATA"] = "Cargar datos"
S["LOREMASTER_AREA"] = "Zona de Maestro Cultural"
S["LOW_LEVEL"] = "Bajo nivel"
S["MAP"] = "Mapa"
S["MAP_BUTTON"] = "Mostrar botón en mapa del mundo"
S["MAP_DUNGEONS"] = "Mostrar misiones de mazmorra en minimapa"
S["MAP_PINS"] = "Mostrar marcas en el mapa para NPC de inicio de misión"
S["MAP_UPDATES"] = "Actualizar mapa del mundo al cambiar de zona"
S["MAPAREA_NONE"] = "Ninguno"
S["MAXIMUM_LEVEL_NONE"] = "Ninguno"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "%d misiones de la cadena disponibles"
S["MUST_KILL_PIN_FORMAT"] = "%s [Matar]"
S["NEAR"] = "Cerca"
S["NEEDS_PREREQUISITES"] = "Necesita prerequisitos"
S["NEVER_ABANDONED"] = "Nunca abandonada"
S["OAC"] = "Al aceptar completa misiones:"
S["OCC"] = "Al cumplir los requisitos completa misiones:"
S["OTC"] = "Al entregar completa misiones:"
S["OTHER"] = "Otro"
S["OTHER_PREFERENCE"] = "Otra"
S["PANEL_UPDATES"] = "Actualizar registro de misiones al cambiar de zona"
S["PLOT"] = "Plano"
S["PREPEND_LEVEL"] = "Anteponer nivel de la búsqueda"
S["PREREQUISITES"] = "Misiones previas"
S["QUEST_COUNTS"] = "Mostrar recuentos de misiones"
S["QUEST_ID"] = "ID de misión:"
S["QUEST_TYPE_NORMAL"] = "Normal"
S["RACE_ANY"] = "Cualquiera"
S["RACE_NONE"] = "Ninguna"
S["RARE_MOBS"] = "Criaturas raras"
S["REPEATABLE"] = "Repetible"
S["REPEATABLE_COMPLETED"] = "Mostrar si las misiones repetibles han sido completadas"
S["REPUTATION_REQUIRED"] = "Reputación requerida:"
S["REQUIRED_LEVEL"] = "Nivel requerido"
S["REQUIRES_FORMAT"] = "Wholly requiere la versión %s o mas reciente de Grail"
S["RESTORE_DIRECTIONAL_ARROWS"] = "No restablecer flechas direccionales"
S["SEARCH_ALL_QUESTS"] = "Todas las misiones"
S["SEARCH_CLEAR"] = "Limpiar"
S["SEARCH_NEW"] = "Nueva"
S["SELF"] = "Auto"
S["SHOW_BREADCRUMB"] = "Mostrar información de cadenas de misión en interfaz de misión"
S["SHOW_LOREMASTER"] = "Solo mostrar misiones de Maestro Cultural"
S["SINGLE_BREADCRUMB_FORMAT"] = "Cadenas de misiones disponibles"
S["SP_MESSAGE"] = "Misión especial, no entra en registro de misiones de Blizzard"
S["TAGS"] = "Etiquetas"
S["TAGS_DELETE"] = "Eliminar Etiqueta"
S["TAGS_NEW"] = "Añadir Etiqueta"
S["TITLE_APPEARANCE"] = "Apariencia del título de misión"
S["TREASURE"] = "Tesoro"
S["TURNED_IN"] = "Entregada"
S["UNOBTAINABLE"] = "No obtenible"
S["WHEN_KILL"] = "Aceptada al matar:"
S["WIDE_PANEL"] = "Anchura del panel de Misión de Wholly"
S["WIDE_SHOW"] = "Mostrar"
S["WORLD_EVENTS"] = "Eventos del mundo"
S["WORLD_QUEST"] = "Misiones del mundo"
S["YEARLY"] = "Anualmente"
elseif "esMX" == locale then
S["ABANDONED"] = "Abandonado"
S["ACCEPTED"] = "Aceptada"
S["ACHIEVEMENT_COLORS"] = "Mostrar colores de logros completados"
S["ADD_ADVENTURE_GUIDE"] = "Mostrar la guía de busqueda de aventuras en cada zona"
S["ALL_FACTION_REPUTATIONS"] = "Mostrar todas las reputaciones de facciones"
S["APPEND_LEVEL"] = "Añadir nivel requerido"
S["BASE_QUESTS"] = "Base de Misiones"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Mostrar/ocultar marcas en el mapa"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Mostrar/ocultar misiones completadas"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Mostrar/ocultar misiones diarias"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Mostrar/ocultar misiones con prerequisitos obligatorios"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Mostrar/ocultar misiones repetibles"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Mostrar/ocultar misiones no obtenibles"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Mostrar/ocultar misiones semanales"
S["BLIZZARD_TOOLTIP"] = "Mostrar la Herramienta de información en el registro de busquedas de Blizzard"
S["BREADCRUMB"] = "Misiones de senderos migas de pan:"
S["BUGGED"] = "*** ERROR ***"
S["BUGGED_UNOBTAINABLE"] = "Misiones con errores se consideran no obtenibles"
S["BUILDING"] = "Estructura"
S["CHRISTMAS_WEEK"] = "Semana navideña"
S["CLASS_ANY"] = "Todas"
S["CLASS_NONE"] = "Ninguna"
S["COMPLETED"] = "Completada"
S["COMPLETION_DATES"] = "Fechas de finalización"
S["DROP_TO_START_FORMAT"] = "Recojer %s para iniciar [%s]"
S["EMPTY_ZONES"] = "Mostrar zonas vacías"
S["ENABLE_COORDINATES"] = "Habilitar coordenadas del jugador"
S["ENTER_ZONE"] = "Aceptada al entrar al área del mapa"
S["ESCORT"] = "Escoltar"
S["EVER_CAST"] = "Ya se ha lanzado"
S["EVER_COMPLETED"] = "Ya ha sido completada"
S["EVER_EXPERIENCED"] = "Ya se ha recibido"
S["FACTION_BOTH"] = "Ambas"
S["FIRST_PREREQUISITE"] = "Primero en la Cadena de Prerequisitos:"
S["GENDER"] = "Género"
S["GENDER_BOTH"] = "Ambos"
S["GENDER_NONE"] = "Ninguno"
S["GRAIL_NOT_HAVE"] = "Grail no tiene esta misión"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Ocultar objetivos de bonificación de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Ocultar marcadores de mapa de busqueda de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Ocultar tesoros de Blizzard"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Ocultar puntos de vuelo"
S["HIGH_LEVEL"] = "Nivel Alto"
S["HOLIDAYS_ONLY"] = "Solo disponible durante eventos:"
S["IGNORE_REPUTATION_SECTION"] = "Ignorar sección de reputación de busquedas"
S["IN_LOG"] = "En el Registro"
S["IN_LOG_STATUS"] = "Mostrar estado de las misiones en el registro"
S["INVALIDATE"] = "Invalidada por misiones:"
S["IS_BREADCRUMB"] = "Es un camino de busqueda de migajas para:"
S["ITEM"] = "Objeto"
S["ITEM_LACK"] = "Falta objeto"
S["KILL_TO_START_FORMAT"] = "Matar para iniciar [%s]"
S["LIVE_COUNTS"] = "Actualizaciones de contadores de busquedas en vivo"
S["LOAD_DATA"] = "Cargar Data"
S["LOREMASTER_AREA"] = "Área del Maestro Cultural"
S["LOW_LEVEL"] = "Nivel Bajo"
S["MAP"] = "Mapa"
S["MAP_BUTTON"] = "Mostrar botón en el mapa del mundo"
S["MAP_DUNGEONS"] = "Mostrar misiones de mazmorras en el mapa exterior"
S["MAP_PINS"] = "Mostrar marcadores en el mapa para dadores de misiones"
S["MAP_UPDATES"] = "El mapa del mundo se actualiza cuando se cambia de zona"
S["MAPAREA_NONE"] = "Ninguna"
S["MAXIMUM_LEVEL_NONE"] = "Ninguno"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "%d Búsquedas de sendero de migas de pan disponibles"
S["MUST_KILL_PIN_FORMAT"] = "%s [Matar]"
S["NEAR"] = "Cerca"
S["NEEDS_PREREQUISITES"] = "Necesita prerequisitos"
S["NEVER_ABANDONED"] = "Nunca abandonada"
S["OAC"] = "Al aceptar completa las misiones:"
S["OCC"] = "Al cumplir los requisitos completa las misiones:"
S["OTC"] = "Al entregar completa las misiones:"
S["OTHER"] = "Otro"
S["OTHER_PREFERENCE"] = "Otro"
S["PANEL_UPDATES"] = "El registro de misiones se actualiza cuando se cambia de zona"
S["PLOT"] = "Parcela"
S["PREPEND_LEVEL"] = "Anteponer nivel de la misión"
S["PREREQUISITES"] = "Prerequisitos:"
S["QUEST_COUNTS"] = "Mostrar contador de misiones"
S["QUEST_ID"] = "ID de misión:"
S["QUEST_TYPE_NORMAL"] = "Normal"
S["RACE_ANY"] = "Cualquiera"
S["RACE_NONE"] = "Ninguna"
S["RARE_MOBS"] = "Criaturas Raras"
S["REPEATABLE"] = "Repetible"
S["REPEATABLE_COMPLETED"] = "Mostrar si las misiones repetibles han sido previamente completadas"
S["REPUTATION_REQUIRED"] = "Reputación Requerida:"
S["REQUIRED_LEVEL"] = "Nivel Requerido"
S["REQUIRES_FORMAT"] = "Wholly requiere la versión de Grail %s o superior"
S["RESTORE_DIRECTIONAL_ARROWS"] = "No se deberían restaurar las flechas de dirección"
S["SEARCH_ALL_QUESTS"] = "Todas las misiones"
S["SEARCH_CLEAR"] = "Limpiar buscador"
S["SEARCH_NEW"] = "Nueva búsqueda"
S["SELF"] = "Auto"
S["SHOW_BREADCRUMB"] = "Mostrar la información de la Mision El Sendero de Migas en la Cuadra de Búsqueda"
S["SHOW_LOREMASTER"] = "Solo mostrar misiones del Maestro Cultural"
S["SINGLE_BREADCRUMB_FORMAT"] = "Mision El Sendero de Migas de Pan Disponible"
S["SP_MESSAGE"] = "Misiones especiales nunca entran al registro de misiones de Blizzard"
S["TAGS"] = "Etiquetas"
S["TAGS_DELETE"] = "Eliminar Etiqueta"
S["TAGS_NEW"] = "Añadir Etiqueta"
S["TITLE_APPEARANCE"] = "Apariencia del Título de misión"
S["TREASURE"] = "Tesoro"
S["TURNED_IN"] = "Entregada"
S["UNOBTAINABLE"] = "No obtenible"
S["WHEN_KILL"] = "Aceptada al matar:"
S["WIDE_PANEL"] = "Ampliar Wholly Registro de misiones"
S["WIDE_SHOW"] = "Mostrar"
S["WORLD_EVENTS"] = "Eventos del mundo"
S["WORLD_QUEST"] = "Misiones de Mundo"
S["YEARLY"] = "Anualmente"
elseif "frFR" == locale then
S["ABANDONED"] = "Abandonnée"
S["ACCEPTED"] = "Acceptée"
S["ACHIEVEMENT_COLORS"] = "Afficher les couleurs de progression des hauts faits"
S["ADD_ADVENTURE_GUIDE"] = "Afficher le Guide de l'Aventurier dans la section Autres"
S["ALL_FACTION_REPUTATIONS"] = "Affiche toutes les réputations de factions"
S["APPEND_LEVEL"] = "Ajouter le niveau minimum requis après le nom de la quête"
S["BASE_QUESTS"] = "Quête de départ"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Afficher/cacher les marqueurs sur la carte"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Afficher/cacher les quêtes complétées"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Afficher/cacher les journalières"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Afficher/cacher les quêtes nécessitants des prérequis"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Afficher/cacher les répétables"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Afficher/cacher les quêtes impossibles à obtenir"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Afficher/cacher les quêtes hebdomadaires"
S["BLIZZARD_TOOLTIP"] = "Apparition des info-bulles sur le Journal de quêtes"
S["BREADCRUMB"] = "Quêtes précédentes (suite de quêtes) :"
S["BUGGED"] = "*** BOGUÉE ***"
S["BUGGED_UNOBTAINABLE"] = "Quêtes boguées considérées comme impossibles à obtenir"
S["BUILDING"] = "Bâtiment"
S["CHRISTMAS_WEEK"] = "Vacances de Noël"
S["CLASS_ANY"] = "Toutes"
S["CLASS_NONE"] = "Aucune"
S["COMPLETED"] = "Complétées"
S["COMPLETION_DATES"] = "Date de restitution"
S["DROP_TO_START_FORMAT"] = "Ramasser %s (butin) pour commencer [%s]"
S["EMPTY_ZONES"] = "Afficher les zones vides"
S["ENABLE_COORDINATES"] = "Activer les coordonnées du joueur"
-- Active les coordonnées x, y du joueur dans un flux LDB (Bazooka, Titan Panel, FuBar, etc)
S["ENTER_ZONE"] = "Accepté(e) lors de l'entrée dans la zone"
S["ESCORT"] = "Escorte"
S["EVER_CAST"] = "N'a jamais lancé "
S["EVER_COMPLETED"] = "N'a jamais été effectuée"
S["EVER_EXPERIENCED"] = "N'a jamais fait l'expérience de "
S["FACTION_BOTH"] = "Les deux"
S["FIRST_PREREQUISITE"] = "Première dans la suite de prérequis :"
S["GENDER"] = "Sexe"
S["GENDER_BOTH"] = "Les deux"
S["GENDER_NONE"] = "Aucun"
S["GRAIL_NOT_HAVE"] = "Grail n'a pas cette quête dans sa base de données"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Masquer les objectifs bonus de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Masquer les marqueur de quêtes de Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Masquer les trésors de Blizzard"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Masquer les points de vol"
S["HIGH_LEVEL"] = "Haut niveau"
S["HOLIDAYS_ONLY"] = "Disponible uniquement pendant un évènement mondial :"
S["IGNORE_REPUTATION_SECTION"] = "Ignorer la section réputation des quêtes"
S["IN_LOG"] = "Dans le journal"
S["IN_LOG_STATUS"] = "Afficher l'état des quêtes dans le journal"
S["INVALIDATE"] = "Invalidé(e) par les quêtes :"
S["IS_BREADCRUMB"] = "Est le prérequis des quêtes :"
S["ITEM"] = "Objet"
S["ITEM_LACK"] = "Objet manquant"
S["KILL_TO_START_FORMAT"] = "Tuer pour commencer [%s]"
S["LIVE_COUNTS"] = "Mise à jour en direct du compteur de quêtes"
S["LOAD_DATA"] = "Chargement des données"
S["LOREMASTER_AREA"] = "Zone de maître des traditions"
S["LOW_LEVEL"] = "Bas niveau"
S["MAP"] = "Carte"
S["MAP_BUTTON"] = "Afficher le bouton sur la carte du monde"
S["MAP_DUNGEONS"] = "Afficher les quêtes de donjons sur la carte extérieure"
S["MAP_PINS"] = "Afficher les marqueurs (!) des donneurs de quêtes sur la carte"
S["MAP_UPDATES"] = "Mise à jour de la carte du monde lors d'un changement de zone"
S["MAPAREA_NONE"] = "Aucune"
S["MAXIMUM_LEVEL_NONE"] = "Aucun"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "%d quêtes préalables disponibles"
S["MUST_KILL_PIN_FORMAT"] = "%s [Tuer]"
S["NEAR"] = "Proche"
S["NEEDS_PREREQUISITES"] = "Prérequis nécessaires"
S["NEVER_ABANDONED"] = "Jamais abandonnée"
S["OAC"] = "Quêtes complétées dès obtention :"
S["OCC"] = "Quêtes complétées dès complétion des objectifs :"
S["OTC"] = "Quêtes complétées lorsque rendues :"
S["OTHER"] = "Autres"
S["OTHER_PREFERENCE"] = "Autres"
S["PANEL_UPDATES"] = "Mise à jour du journal de quêtes lors d'un changement de zone"
S["PLOT"] = "Terrain"
S["PREPEND_LEVEL"] = "Ajouter le niveau de la quête avant son nom"
S["PREREQUISITES"] = "Prérequis :"
S["QUEST_COUNTS"] = "Montrer le nombre de quêtes"
S["QUEST_ID"] = "ID de quête :"
S["QUEST_TYPE_NORMAL"] = "Normal"
S["RACE_ANY"] = "Toutes"
S["RACE_NONE"] = "Aucune"
S["RARE_MOBS"] = "Monstres Rare"
S["REPEATABLE"] = "Répétable"
S["REPEATABLE_COMPLETED"] = "Afficher si les quêtes répétables ont déjà été terminées auparavant"
S["REPUTATION_REQUIRED"] = "Réputation nécessaire :"
S["REQUIRED_LEVEL"] = "Niveau requis"
S["REQUIRES_FORMAT"] = "Wholly nécessite Grail version %s ou ultérieure"
S["RESTORE_DIRECTIONAL_ARROWS"] = "Ne devrait pas restaurer les flèches directionnelles"
S["SEARCH_ALL_QUESTS"] = "Toutes les quêtes"
S["SEARCH_CLEAR"] = "Effacer"
S["SEARCH_NEW"] = "Nouvelle"
S["SELF"] = "Soi-même"
S["SHOW_BREADCRUMB"] = "Afficher les informations d'une suite de quêtes dans le journal de quêtes"
S["SHOW_LOREMASTER"] = "Afficher uniquement les quêtes comptant pour le haut fait de \"Maître des traditions\""
S["SINGLE_BREADCRUMB_FORMAT"] = "Quête préalable disponible"
S["SP_MESSAGE"] = "Certaines quêtes spéciales ne sont jamais affichées dans le journal de quêtes de Blizzard"
S["TAGS"] = "Tags"
S["TAGS_DELETE"] = "Supprimer le tag"
S["TAGS_NEW"] = "Ajouter un tag"
S["TITLE_APPEARANCE"] = "Apparence de l'intitulé des quêtes"
S["TREASURE"] = "Trésor"
S["TURNED_IN"] = "Rendue"
S["UNOBTAINABLE"] = "Impossible à obtenir"
S["WHEN_KILL"] = "Accepté(e) en tuant :"
S["WIDE_PANEL"] = "Journal de quêtes Wholly large"
S["WIDE_SHOW"] = "Afficher"
S["WORLD_EVENTS"] = "Événements mondiaux"
S["WORLD_QUEST"] = "Expéditions"
S["YEARLY"] = "Annuelle"
elseif "itIT" == locale then
S["ABANDONED"] = "Abbandonata" -- Needs review
S["ACCEPTED"] = "Accettata" -- Needs review
S["ACHIEVEMENT_COLORS"] = "Visualizza il colore delle realizzazioni completate" -- Needs review
S["APPEND_LEVEL"] = "Posponi livello richiesto" -- Needs review
S["BASE_QUESTS"] = "Quest di base" -- Needs review
S["BREADCRUMB"] = "Traccia Missioni" -- Needs review
S["BUGGED"] = "Bug" -- Needs review
S["BUGGED_UNOBTAINABLE"] = "Missioni buggate considerate non ottenibili" -- Needs review
S["CHRISTMAS_WEEK"] = "Settimana di Natale" -- Needs review
S["CLASS_ANY"] = "Qualsiasi" -- Needs review
S["CLASS_NONE"] = "Nessuna" -- Needs review
S["COMPLETED"] = "Completata" -- Needs review
S["ENABLE_COORDINATES"] = "Attiva le coordinate del giocatore" -- Needs review
S["ENTER_ZONE"] = "Accetta quando entri nell'area" -- Needs review
S["ESCORT"] = "Scorta" -- Needs review
S["EVER_COMPLETED"] = "Stata completata" -- Needs review
S["FACTION_BOTH"] = "Entrambe" -- Needs review
S["FIRST_PREREQUISITE"] = "In primo luogo nella catena dei prerequisiti:" -- Needs review
S["GENDER"] = "Genere" -- Needs review
S["GENDER_BOTH"] = "Entrambi" -- Needs review
S["GENDER_NONE"] = "Nessun" -- Needs review
S["GRAIL_NOT_HAVE"] = "Grail non dispone di questa ricerca" -- Needs review
S["HIGH_LEVEL"] = "Di livello alto" -- Needs review
S["HOLIDAYS_ONLY"] = "Disponibile solo durante le vacanze" -- Needs review
S["IN_LOG"] = "Connettiti" -- Needs review
S["IN_LOG_STATUS"] = "Mostra lo stato delle quest" -- Needs review
S["INVALIDATE"] = "Missioni invalidate" -- Needs review
S["ITEM"] = "Oggetto" -- Needs review
S["ITEM_LACK"] = "Oggetto mancante" -- Needs review
S["KILL_TO_START_FORMAT"] = "Uccidere per avviare [%s]" -- Needs review
S["LIVE_COUNTS"] = "Aggiornamento conteggio missioni direttamente" -- Needs review
S["LOAD_DATA"] = "Caricare i dati" -- Needs review
S["LOREMASTER_AREA"] = "Loremaster Area" -- Needs review
S["LOW_LEVEL"] = "Di livello basso" -- Needs review
S["MAP"] = "Mappa" -- Needs review
S["MAPAREA_NONE"] = "Nessuna" -- Needs review
S["MAP_BUTTON"] = "Mostra pulsante mappa del mondo" -- Needs review
S["MAP_DUNGEONS"] = "Mostra le quest nei dungeon sulla mappa esterna" -- Needs review
S["MAP_PINS"] = "Mostra sulla mappa le quest da prendere" -- Needs review
S["MAP_UPDATES"] = "Aggiorna la mappa quando cambio zona" -- Needs review
S["MAXIMUM_LEVEL_NONE"] = "Nessun" -- Needs review
S["MUST_KILL_PIN_FORMAT"] = "%s [Uccidere]" -- Needs review
S["NEAR"] = "Vicino a" -- Needs review
S["NEEDS_PREREQUISITES"] = "Prerequisiti richiesti" -- Needs review
S["NEVER_ABANDONED"] = "Mai abbandonata" -- Needs review
S["OCC"] = "Requisiti richiesti per completare la missione" -- Needs review
S["OTHER"] = "altro" -- Needs review
S["OTHER_PREFERENCE"] = "Altre" -- Needs review
S["PANEL_UPDATES"] = "Aggiorna il pannello log quest quando cambia zona" -- Needs review
S["PREPEND_LEVEL"] = "Anteponi Livello missioni" -- Needs review
S["PREREQUISITES"] = "Prerequisiti missione" -- Needs review
S["QUEST_COUNTS"] = "Mostra conteggio missioni" -- Needs review
S["QUEST_ID"] = "ID Missione" -- Needs review
S["QUEST_TYPE_NORMAL"] = "Normali" -- Needs review
S["RACE_ANY"] = "Qualsiasi" -- Needs review
S["RACE_NONE"] = "Nessuna" -- Needs review
S["REPEATABLE"] = "Ripetibile" -- Needs review
S["REPEATABLE_COMPLETED"] = "Visualizza se le missioni ripetibili precedentemente completate" -- Needs review
S["REPUTATION_REQUIRED"] = "Reputazione richiesta" -- Needs review
S["REQUIRED_LEVEL"] = "Livello Richiesto" -- Needs review
S["REQUIRES_FORMAT"] = "Richiede interamente versione Grail %s o versione successiva" -- Needs review
S["SEARCH_ALL_QUESTS"] = "Tutte le quest" -- Needs review
S["SEARCH_CLEAR"] = "Cancella" -- Needs review
S["SEARCH_NEW"] = "Nuova" -- Needs review
S["SELF"] = "Se stesso" -- Needs review
S["SHOW_BREADCRUMB"] = "Mostra informazioni sul percorso della missione sul Quest Frame" -- Needs review
S["SHOW_LOREMASTER"] = "Mostra solo le missioni Loremaster" -- Needs review
S["SINGLE_BREADCRUMB_FORMAT"] = "Cerca missioni disponibili" -- Needs review
S["SP_MESSAGE"] = "Missione speciale mai entrata nel diario della Blizzard" -- Needs review
S["TAGS"] = "Tag" -- Needs review
S["TAGS_DELETE"] = "Rimuovi Tag" -- Needs review
S["TAGS_NEW"] = "Aggiungi Tag" -- Needs review
S["TITLE_APPEARANCE"] = "Mostra titolo quest" -- Needs review
S["TURNED_IN"] = "Consegnata" -- Needs review
S["UNOBTAINABLE"] = "Non ottenibile" -- Needs review
S["WHEN_KILL"] = "Accetta quando uccidi" -- Needs review
S["WIDE_PANEL"] = "Ingrandisci il pannello Wholly quest" -- Needs review
S["WIDE_SHOW"] = "Mostra" -- Needs review
S["WORLD_EVENTS"] = "Eventi mondiali" -- Needs review
S["YEARLY"] = "Annuale" -- Needs review
elseif "koKR" == locale then
S["ABANDONED"] = "포기"
S["ACCEPTED"] = "수락함"
S["ACHIEVEMENT_COLORS"] = "업적 완료 색상을 표시"
S["ADD_ADVENTURE_GUIDE"] = "모든 지역에서 모험 안내서 퀘스트 표시"
S["ALL_FACTION_REPUTATIONS"] = "모든 진영 평판 표시"
S["APPEND_LEVEL"] = "요구 레벨 추가"
S["BASE_QUESTS"] = "기본 퀘스트"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "지도 핀 표시 여부 전환"
--Translation missing
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Toggle shows completed"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "일일 퀘스트 표시 여부 전환"
--Translation missing
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Toggle shows needs prerequisites"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "반복 가능 퀘스트 표시 여부 전환"
--Translation missing
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Toggle shows unobtainables"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "주간 퀘스트 표시 여부 전환"
S["BLIZZARD_TOOLTIP"] = "Blizzard 퀘스트 목록에 툴팁 표시"
S["BREADCRUMB"] = "추가 목표 퀘스트:"
S["BUGGED"] = "|cffff0000*** 오류 ***|r"
S["BUGGED_UNOBTAINABLE"] = "불가능한 퀘스트는 오류로 결정"
--Translation missing
S["BUILDING"] = "Building"
S["CHRISTMAS_WEEK"] = "한겨울 축제 주간"
S["CLASS_ANY"] = "모두"
S["CLASS_NONE"] = "없음"
S["COMPLETED"] = "|cFF00FF00완료한 퀘스트|r"
S["COMPLETION_DATES"] = "완료 날짜"
--Translation missing
S["DROP_TO_START_FORMAT"] = "Drops %s to start [%s]"
S["EMPTY_ZONES"] = "빈 지역 표시"
S["ENABLE_COORDINATES"] = "플레이어 좌표 사용"
S["ENTER_ZONE"] = "지역에 진입할 떄 수락"
S["ESCORT"] = "호위"
S["EVER_CAST"] = "시전한 적 있음"
S["EVER_COMPLETED"] = "완료한 적 있음"
S["EVER_EXPERIENCED"] = "받은 적 있음"
S["FACTION_BOTH"] = "둘다"
--Translation missing
S["FIRST_PREREQUISITE"] = "First in Prerequisite Chain:"
S["GENDER"] = "성별"
S["GENDER_BOTH"] = "둘다"
S["GENDER_NONE"] = "없음"
S["GRAIL_NOT_HAVE"] = "Grail에 이 퀘스트가 없습니다."
--Translation missing
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Hide Blizzard bonus objectives"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Blizzard 퀘스트 지도 핀 숨김"
--Translation missing
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Hide Blizzard treasures"
--Translation missing
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Hide flight points"
S["HIGH_LEVEL"] = "고레벨"
S["HOLIDAYS_ONLY"] = "축제 동안에만 이용 가능:"
S["IGNORE_REPUTATION_SECTION"] = "퀘스트의 평판 부분 무시"
S["IN_LOG"] = "|cFFFF00FF목록에 있는 퀘스트|r"
S["IN_LOG_STATUS"] = "퀘스트 진행 상태를 목록에 표시"
S["INVALIDATE"] = "퀘스트 무효화"
--Translation missing
S["IS_BREADCRUMB"] = "Is breadcrumb quest for:"
S["ITEM"] = "아이템"
S["ITEM_LACK"] = "아이템 부족"
--Translation missing
S["KILL_TO_START_FORMAT"] = "Kill to start [%s]"
S["LIVE_COUNTS"] = "실시간 퀘스트 수 갱신"
S["LOAD_DATA"] = "데이터 불러오기"
S["LOREMASTER_AREA"] = "현자 애드온 지역"
S["LOW_LEVEL"] = "|cFF666666저레벨|r"
S["MAP"] = "지도에"
S["MAP_BUTTON"] = "세계 지도에 버튼 표시"
S["MAP_DUNGEONS"] = "지도에 던전 퀘스트 표시"
S["MAP_PINS"] = "퀘스트 주는 이를 지도에 핀으로 표시"
S["MAP_UPDATES"] = "지역이 바뀔 때 세계 지도 갱신"
S["MAPAREA_NONE"] = "없음"
S["MAXIMUM_LEVEL_NONE"] = "없음"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "%d 개의 추가 목표 퀘스트가 가능합니다."
S["MUST_KILL_PIN_FORMAT"] = "%s [죽임]"
S["NEAR"] = "근처"
S["NEEDS_PREREQUISITES"] = "|cFFFF0000전제조건이 필요한 퀘스트|r"
S["NEVER_ABANDONED"] = "버릴 수 없음"
S["OAC"] = "접수 완료 퀘스트:"
S["OCC"] = "목표 완료 퀘스트:"
--Translation missing
S["OTC"] = "On turn in complete quests:"
S["OTHER"] = "기타"
S["OTHER_PREFERENCE"] = "기타"
S["PANEL_UPDATES"] = "지역 이동시 퀘스트 목록 갱신"
--Translation missing
S["PLOT"] = "Plot"
S["PREPEND_LEVEL"] = "퀘스트 레벨 표시"
S["PREREQUISITES"] = "퀘스트 조건:"
S["QUEST_COUNTS"] = "퀘스트 개수 표시"
S["QUEST_ID"] = "퀘스트 ID:"
S["QUEST_TYPE_NORMAL"] = "일반"
S["RACE_ANY"] = "모두"
S["RACE_NONE"] = "없음"
S["RARE_MOBS"] = "희귀 몹"
S["REPEATABLE"] = "반복"
S["REPEATABLE_COMPLETED"] = "완료한 반복 퀘스트 표시"
S["REPUTATION_REQUIRED"] = "평판 요구 사항:"
S["REQUIRED_LEVEL"] = "요구 레벨"
S["REQUIRES_FORMAT"] = "Wholly 애드온은 Grail의 %s 버전 이상을 요구합니다."
--Translation missing
S["RESTORE_DIRECTIONAL_ARROWS"] = "Should not restore directional arrows"
S["SEARCH_ALL_QUESTS"] = "모든 퀘스트"
S["SEARCH_CLEAR"] = "초기화"
S["SEARCH_NEW"] = "신규"
S["SELF"] = "자신"
S["SHOW_BREADCRUMB"] = "퀘스트 창에 여러 퀘스트 정보 표시"
S["SHOW_LOREMASTER"] = "Loremaster 퀘스트만 표시"
S["SINGLE_BREADCRUMB_FORMAT"] = "추가 목표 퀘스트가 가능합니다."
--Translation missing
S["SP_MESSAGE"] = "Special quest never enters Blizzard quest log"
S["TAGS"] = "태그"
S["TAGS_DELETE"] = "태그 삭제"
S["TAGS_NEW"] = "태그 추가"
S["TITLE_APPEARANCE"] = "퀘스트 제목 모양"
S["TREASURE"] = "보물"
--Translation missing
S["TURNED_IN"] = "Turned in"
S["UNOBTAINABLE"] = "|cFF996600불가능한 퀘스트|r"
S["WHEN_KILL"] = "죽일 때 수락:"
S["WIDE_PANEL"] = "넓은 Wholly 퀘스트 목록"
S["WIDE_SHOW"] = "표시"
S["WORLD_EVENTS"] = "월드 이벤트"
S["WORLD_QUEST"] = "전역 퀘스트"
S["YEARLY"] = "연간"
elseif "ptBR" == locale then
S["ABANDONED"] = "Abandonada"
S["ACCEPTED"] = "Aceita"
S["ACHIEVEMENT_COLORS"] = "Mostrar cores para conquistas obtidas"
S["ADD_ADVENTURE_GUIDE"] = "Exibir missões do Guia de Aventura em todas as zonas"
S["ALL_FACTION_REPUTATIONS"] = "Exibir reputações de todas as facções"
S["APPEND_LEVEL"] = "Juntar nível necessário"
S["BASE_QUESTS"] = "Missões-base"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Liga/desliga marcadores de mapa"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Mostrar concluídas"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Mostrar diárias"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Mostrar pré-requisitos"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Mostrar repetíveis"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Mostrar indisponíveis"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Mostrar semanais"
S["BLIZZARD_TOOLTIP"] = "Dicas são exibidas no Registro de Missões da Blizzard"
S["BREADCRUMB"] = "Missões em sequência:"
S["BUGGED"] = "*** COM ERRO ***"
S["BUGGED_UNOBTAINABLE"] = "Missões com erros consideradas indisponíveis"
S["BUILDING"] = "Construindo"
S["CHRISTMAS_WEEK"] = "Semana do Natal"
S["CLASS_ANY"] = "Qualquer"
S["CLASS_NONE"] = "Nenhuma"
S["COMPLETED"] = "Concluída"
S["COMPLETION_DATES"] = "Data de Conclusão"
S["DROP_TO_START_FORMAT"] = "Encontre %s para começar [%s]"
S["EMPTY_ZONES"] = "Exibir zonas vazias"
S["ENABLE_COORDINATES"] = "Ativar coordenadas do jogador"
S["ENTER_ZONE"] = "Aceita ao entrar na área do mapa"
S["ESCORT"] = "Escolta"
S["EVER_CAST"] = "Já foi lançado"
S["EVER_COMPLETED"] = "Já foi concluída"
S["EVER_EXPERIENCED"] = "Já experimentou"
S["FACTION_BOTH"] = "Ambas"
S["FIRST_PREREQUISITE"] = "Primeiro na cadeia de pré-requisitos:"
S["GENDER"] = "Gênero"
S["GENDER_BOTH"] = "Ambos"
S["GENDER_NONE"] = "Nenhum"
S["GRAIL_NOT_HAVE"] = "Grail não tem essa missão"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Ocultar objetivos bônus da Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Ocultar marcadores de missões da Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Ocultar tesouros da Blizzard"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Ocultar mestres de voo"
S["HIGH_LEVEL"] = "Nível alto"
S["HOLIDAYS_ONLY"] = "Disponível apenas durante Feriados:"
S["IGNORE_REPUTATION_SECTION"] = "Ignorar seção de reputação das missões"
S["IN_LOG"] = "Em registro"
S["IN_LOG_STATUS"] = "Exibir estado das missões no registro"
S["INVALIDATE"] = "Invalidado pelas missões:"
S["IS_BREADCRUMB"] = "É sequência de missão para:"
S["ITEM"] = "Item"
S["ITEM_LACK"] = "Falta Item"
S["KILL_TO_START_FORMAT"] = "Mate para começar [%s]"
S["LIVE_COUNTS"] = "Atualizações dinâmicas de contagem de missões"
S["LOAD_DATA"] = "Carregar Dados"
S["LOREMASTER_AREA"] = "Área do Mestre Historiador"
S["LOW_LEVEL"] = "Nível baixo"
S["MAP"] = " Mapa"
S["MAP_BUTTON"] = "Exibir botão no mapa-múndi"
S["MAP_DUNGEONS"] = "Exibir missões de masmorras no mapa externo"
S["MAP_PINS"] = "Marcar recrutadores no mapa"
S["MAP_UPDATES"] = "O mapa-múndi atualiza quando a zona muda"
S["MAPAREA_NONE"] = "Nenhum"
S["MAXIMUM_LEVEL_NONE"] = "Nenhum"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "Sequência de missões disponíveis %d"
S["MUST_KILL_PIN_FORMAT"] = "[Matar] %s"
S["NEAR"] = "Próximo"
S["NEEDS_PREREQUISITES"] = "Pré-requisitos necessários"
S["NEVER_ABANDONED"] = "Nunca abandonada"
S["OAC"] = "Missões que se completam ao aceitar:"
S["OCC"] = "Missões que se completam ao se cumprir os requisitos:"
S["OTC"] = "Missões que se completam ao entregar:"
S["OTHER"] = "Outro"
S["OTHER_PREFERENCE"] = "Outro"
S["PANEL_UPDATES"] = "Painel de registro das missões atualiza quando mudar de zona"
S["PLOT"] = "Trama"
S["PREPEND_LEVEL"] = "Prefixar nível das missões"
S["PREREQUISITES"] = "Pré-requisitos:"
S["QUEST_COUNTS"] = "Exibir contador de missões"
S["QUEST_ID"] = "ID da missão:"
S["QUEST_TYPE_NORMAL"] = "Normal"
S["RACE_ANY"] = "Qualquer"
S["RACE_NONE"] = "Nenhuma"
S["RARE_MOBS"] = "Mobs Raros"
S["REPEATABLE"] = "Repetível"
S["REPEATABLE_COMPLETED"] = "Mostrar se missões repetíveis já foram concluídas"
S["REPUTATION_REQUIRED"] = "Requer reputação:"
S["REQUIRED_LEVEL"] = "Nível Requerido"
S["REQUIRES_FORMAT"] = "Wholly requer a versão %s do Grail ou maior"
S["RESTORE_DIRECTIONAL_ARROWS"] = "Não deve restaurar setas direcionais"
S["SEARCH_ALL_QUESTS"] = "Todas as missões"
S["SEARCH_CLEAR"] = "Limpar"
S["SEARCH_NEW"] = "Nova"
S["SELF"] = "Por si só"
S["SHOW_BREADCRUMB"] = "Mostrar informações de andamento na Janela de Missões"
S["SHOW_LOREMASTER"] = "Exibir somente missões do Mestre Historiador"
S["SINGLE_BREADCRUMB_FORMAT"] = "Sequência de missão disponível"
S["SP_MESSAGE"] = "Missões especiais nunca entram no registro de missões da Blizzard"
S["TAGS"] = "Rótulos"
S["TAGS_DELETE"] = "Remover Rótulo"
S["TAGS_NEW"] = "Novo Rótulo"
S["TITLE_APPEARANCE"] = "Aparência do Título da Missão"
S["TREASURE"] = "Tesouro"
S["TURNED_IN"] = "Entregue"
S["UNOBTAINABLE"] = "Indisponível"
S["WHEN_KILL"] = "Aceita quando matar:"
S["WIDE_PANEL"] = "Painel largo de Missões do Whooly"
S["WIDE_SHOW"] = "Exibir"
S["WORLD_EVENTS"] = "Eventos Mundiais"
S["WORLD_QUEST"] = "Missões Mundiais"
S["YEARLY"] = "Anualmente"
elseif "ruRU" == locale then
S["ABANDONED"] = "Проваленный"
S["ACCEPTED"] = "Принят"
S["ACHIEVEMENT_COLORS"] = "Выделять завершение достижения определенным цветом"
S["ADD_ADVENTURE_GUIDE"] = "Отображать задания Путеводителя в каждой зоне"
S["ALL_FACTION_REPUTATIONS"] = "Показать репутацию со всем фракциями"
S["APPEND_LEVEL"] = "Указывать требуемый уровень "
S["BASE_QUESTS"] = "Базовые задания"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "Переключить метки на карте"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "Переключить отображение завершенных заданий "
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "Переключить отображение ежедневных заданий "
BINDING_NAME_WHOLLY_TOGGLESHOWLOREMASTER = "Переключить отображение квестов Loremaster"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "Переключить отображение требующих необходимые условия"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "Переключить отображение повторяющихся заданий"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "Переключить отображение недоступных заданий"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "Переключит отображение еженедельных заданий"
BINDING_NAME_WHOLLY_TOGGLESHOWWORLDQUESTS = "Переключить отображение Локальных Заданий"
S["BLIZZARD_TOOLTIP"] = "Появление подсказок в журнале заданий"
S["BREADCRUMB"] = "Направляющие задания из путеводителя:"
S["BUGGED"] = "***СЛОМАЛОСЬ***"
S["BUGGED_UNOBTAINABLE"] = "Ошибочные задания невозможны для получения"
S["BUILDING"] = "Здания"
S["CHRISTMAS_WEEK"] = "Неделя Зимнего Покрова"
S["CLASS_ANY"] = "Любой"
S["CLASS_NONE"] = "Нет"
S["COMPLETED"] = "Завершенные задания"
S["COMPLETION_DATES"] = "Даты для завершения "
S["DROP_TO_START_FORMAT"] = "Падает %s, начинается [%s]"
S["EMPTY_ZONES"] = "Отображать пустые локации"
S["ENABLE_COORDINATES"] = "Отображать местоположения игрока"
S["ENTER_ZONE"] = "Принимаемое при входе в игровую зону задание"
S["ESCORT"] = "Задание на сопровождение"
S["EVER_CAST"] = "Когда-либо произносилось"
S["EVER_COMPLETED"] = "Был выполнен"
S["EVER_EXPERIENCED"] = "Когда-либо наложилось"
S["FACTION_BOTH"] = "Обе"
S["FIRST_PREREQUISITE"] = "Первое в цепочке предварительных:"
S["GENDER"] = "Пол"
S["GENDER_BOTH"] = "Оба"
S["GENDER_NONE"] = "Нет"
S["GRAIL_NOT_HAVE"] = "Этого задания нет в Grail"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "Скрывать дополнительные задачи"
S["HIDE_BLIZZARD_WORLD_MAP_DUNGEON_ENTRANCES"] = "Скрыть входы в подземелья Blizzard"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "Скрывать метки заданий на карте"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "Скрывать сокровища"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "Скрывать точки полета"
S["HIGH_LEVEL"] = "Высокого уровня"
S["HOLIDAYS_ONLY"] = "Доступны только во время праздничных дней:"
S["IGNORE_REPUTATION_SECTION"] = "Игнорировать репутационные секции заданий"
S["IN_LOG"] = "В журнале заданий"
S["IN_LOG_STATUS"] = "Отображать статус заданий в журнале"
S["INVALIDATE"] = "Недействительное задание из-за:"
S["IS_BREADCRUMB"] = "Путеводное задание для:"
S["ITEM"] = "Предмет"
S["ITEM_LACK"] = "Предмет отсутствует"
S["KILL_TO_START_FORMAT"] = "Убить, чтобы начать [%s]"
S["LIVE_COUNTS"] = "Обновлять в реальном времени"
S["LOAD_DATA"] = "Загрузка данных"
S["LOREMASTER_AREA"] = "Хранитель мудрости"
S["LOW_LEVEL"] = "Низкого уровня"
S["MAP"] = "Карта"
S["MAP_BUTTON"] = "Отображать кнопку на карте мира"
S["MAP_DUNGEONS"] = "Показывать задания в подземельях на карте игровой зоны"
S["MAP_PINS"] = "Показывать на карте мира метки тех, кто дает задания"
S["MAP_UPDATES"] = "Обновлять карту мира при смене игровой зоны"
S["MAPAREA_NONE"] = "Нет"
S["MAXIMUM_LEVEL_NONE"] = "Нет"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "Доступно %d путеводных заданий"
S["MUST_KILL_PIN_FORMAT"] = "%s [Убить]"
S["NEAR"] = "Рядом"
S["NEEDS_PREREQUISITES"] = "С предварительными"
S["NEVER_ABANDONED"] = "Не отменялось"
S["OAC"] = "Задания, завершаемые при принятии:"
S["OCC"] = "Задания, завершаемые при выполнении условий:"
S["OTC"] = "Задания, завершаемые при возвращении:"
S["OTHER"] = "Другое"
S["OTHER_PREFERENCE"] = "Прочие"
S["PANEL_UPDATES"] = "Обновлять журнал заданий при смене игровой зоны"
S["PLOT"] = "Участок"
S["PREPEND_LEVEL"] = "Показывать уровень задания"
S["PREREQUISITES"] = "Предварительные задания:"
S["QUEST_COUNTS"] = "Показывать количество заданий"
S["QUEST_ID"] = "ID задания:"
S["QUEST_TYPE_NORMAL"] = "Обычный"
S["RACE_ANY"] = "Любая"
S["RACE_NONE"] = "Нет"
S["RARE_MOBS"] = "Редкие существа"
S["REPEATABLE"] = "Повторяющиеся"
S["REPEATABLE_COMPLETED"] = "Показывать ранее выполненные повторяемые задания"
S["REPUTATION_REQUIRED"] = "Требуемая репутация"
S["REQUIRED_LEVEL"] = "Требуемый уровень"
S["REQUIRES_FORMAT"] = "Для работы Wholly требуется Grail версии %s или выше"
S["RESTORE_DIRECTIONAL_ARROWS"] = "Не восстанавливать стрелки, указывающие направление"
S["SEARCH_ALL_QUESTS"] = "Все задания"
S["SEARCH_CLEAR"] = "Очистить"
S["SEARCH_NEW"] = "Новый"
S["SELF"] = "Себя"
S["SHOW_BREADCRUMB"] = "Показывать информацию о наличии путеводных заданий"
S["SHOW_LOREMASTER"] = "Показывать лишь задания, необходимые для получения \"Хранителя мудрости\""
S["SINGLE_BREADCRUMB_FORMAT"] = "Доступно путеводное задание"
S["SP_MESSAGE"] = "Особый квест никогда не попадает в журнал заданий Blizzard"
S["TAGS"] = "Отмеченные"
S["TAGS_DELETE"] = "Удалить отметку"
S["TAGS_NEW"] = "Новая отметка"
S["TITLE_APPEARANCE"] = "Название задания"
S["TREASURE"] = "Сокровище"
S["TURNED_IN"] = "Выполнено"
S["UNOBTAINABLE"] = "Недоступные"
S["WHEN_KILL"] = "Принимаемое при убийстве:"
S["WIDE_PANEL"] = "Широкая панель Wholly"
S["WIDE_SHOW"] = "Показать"
S["WORLD_EVENTS"] = "Игровые события"
S["WORLD_QUEST"] = "Мировые задания"
S["YEARLY"] = "Ежегодные задания"
elseif "zhCN" == locale then
S["ABANDONED"] = "放弃" -- Needs review
S["ACCEPTED"] = "已接受" -- Needs review
S["ACHIEVEMENT_COLORS"] = "显示成就完成颜色" -- Needs review
S["APPEND_LEVEL"] = "显示需要等级" -- Needs review
S["BASE_QUESTS"] = "基础任务" -- Needs review
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "开启地图标记" -- Needs review
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "显示已完成任务" -- Needs review
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "显示每日任务" -- Needs review
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "显示需要前置的任务" -- Needs review
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "显示重复任务" -- Needs review
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "显示无法取得任务" -- Needs review
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "显示每周任务" -- Needs review
S["BLIZZARD_TOOLTIP"] = "在游戏任务日志中显示提示信息" -- Needs review
S["BREADCRUMB"] = "引导任务:" -- Needs review
S["BUGGED"] = "|cffff0000*** 有问题的 ***|r" -- Needs review
S["BUGGED_UNOBTAINABLE"] = "将有BUG的任务视为不可取得" -- Needs review
S["BUILDING"] = "建筑" -- Needs review
S["CHRISTMAS_WEEK"] = "圣诞周" -- Needs review
S["CLASS_ANY"] = "任何职业" -- Needs review
S["CLASS_NONE"] = "无" -- Needs review
S["COMPLETED"] = "已完成" -- Needs review
S["COMPLETION_DATES"] = "完成日期" -- Needs review
S["DROP_TO_START_FORMAT"] = "掉落 %s 以开始 [%s]" -- Needs review
S["ENABLE_COORDINATES"] = "启用显示玩家座标" -- Needs review
S["ENTER_ZONE"] = "进入区域时取得" -- Needs review
S["ESCORT"] = "护送" -- Needs review
S["EVER_CAST"] = "曾经施放" -- Needs review
S["EVER_COMPLETED"] = "代表一个任务从未完成过" -- Needs review
S["EVER_EXPERIENCED"] = "有过经验" -- Needs review
S["FACTION_BOTH"] = "联盟&部落" -- Needs review
S["FIRST_PREREQUISITE"] = "前置任务链中的第一个:" -- Needs review
S["GENDER"] = "性別" -- Needs review
S["GENDER_BOTH"] = "男女皆可" -- Needs review
S["GENDER_NONE"] = "无" -- Needs review
S["GRAIL_NOT_HAVE"] = "|cFFFF0000Grail资料库内无此任务|r" -- Needs review
S["HIGH_LEVEL"] = "高等级" -- Needs review
S["HOLIDAYS_ONLY"] = "仅在节日时可取得:" -- Needs review
S["IN_LOG"] = "已接" -- Needs review
S["IN_LOG_STATUS"] = "在纪录中显示任务状态" -- Needs review
S["INVALIDATE"] = "被以下任务停用:" -- Needs review
S["IS_BREADCRUMB"] = "是下列任务的引导任务:" -- Needs review
S["ITEM"] = "物品" -- Needs review
S["ITEM_LACK"] = "缺少物品" -- Needs review
S["KILL_TO_START_FORMAT"] = "击杀以开始 [%s]" -- Needs review
S["LIVE_COUNTS"] = "即时更新计数" -- Needs review
S["LOAD_DATA"] = "读取资料" -- Needs review
S["LOREMASTER_AREA"] = "博学大师区域" -- Needs review
S["LOW_LEVEL"] = "低等级" -- Needs review
S["MAP"] = "地图" -- Needs review
S["MAPAREA_NONE"] = "无" -- Needs review
S["MAP_BUTTON"] = "在世界地图上显示按钮" -- Needs review
S["MAP_DUNGEONS"] = "在外部地图显示副本任务" -- Needs review
S["MAP_PINS"] = "在地图上显示任务给予者" -- Needs review
S["MAP_UPDATES"] = "当区域变更时更新世界地图" -- Needs review
S["MAXIMUM_LEVEL_NONE"] = "无" -- Needs review
S["MULTIPLE_BREADCRUMB_FORMAT"] = "有 %d 个引导任务" -- Needs review
S["MUST_KILL_PIN_FORMAT"] = "%s [击杀]" -- Needs review
S["NEAR"] = "靠近" -- Needs review
S["NEEDS_PREREQUISITES"] = "需要前置" -- Needs review
S["NEVER_ABANDONED"] = "不可放弃" -- Needs review
S["OAC"] = "接受时完成任务" -- Needs review
S["OCC"] = "完成要求时完成任务" -- Needs review
S["OTC"] = "缴交时完成任务" -- Needs review
S["OTHER"] = "其他" -- Needs review
S["OTHER_PREFERENCE"] = "其他" -- Needs review
S["PANEL_UPDATES"] = "当变更区域时更新任务纪录视窗" -- Needs review
S["PLOT"] = "空地" -- Needs review
S["PREPEND_LEVEL"] = "显示任务等级" -- Needs review
S["PREREQUISITES"] = "前置任务:" -- Needs review
S["QUEST_COUNTS"] = "显示任务计数" -- Needs review
S["QUEST_ID"] = "任务 ID:" -- Needs review
S["QUEST_TYPE_NORMAL"] = "普通" -- Needs review
S["RACE_ANY"] = "任何种族" -- Needs review
S["RACE_NONE"] = "无" -- Needs review
S["REPEATABLE"] = "可重复" -- Needs review
S["REPEATABLE_COMPLETED"] = "显示已完成过的可重复任务" -- Needs review
S["REPUTATION_REQUIRED"] = "声望要求:" -- Needs review
S["REQUIRED_LEVEL"] = "等级要求" -- Needs review
S["REQUIRES_FORMAT"] = "Wholly 需要 %s 或更新的 Grail版本" -- Needs review
S["SEARCH_ALL_QUESTS"] = "所有任务" -- Needs review
S["SEARCH_CLEAR"] = "清除" -- Needs review
S["SEARCH_NEW"] = "新的" -- Needs review
S["SELF"] = "自己" -- Needs review
S["SHOW_BREADCRUMB"] = "在接受任务时如果跳过了引导任务,则显示警告" -- Needs review
S["SHOW_LOREMASTER"] = "仅显示博学大师成就相关任务" -- Needs review
S["SINGLE_BREADCRUMB_FORMAT"] = "可取得引导任务" -- Needs review
S["SP_MESSAGE"] = "不会进入内建任务纪录的特殊任务" -- Needs review
S["TAGS"] = "标记" -- Needs review
S["TAGS_DELETE"] = "删除标记" -- Needs review
S["TAGS_NEW"] = "添加标记" -- Needs review
S["TITLE_APPEARANCE"] = "任务标题显示" -- Needs review
S["TURNED_IN"] = "缴交" -- Needs review
S["UNOBTAINABLE"] = "无法取得" -- Needs review
S["WHEN_KILL"] = "击杀时取得:" -- Needs review
S["WIDE_PANEL"] = "更宽的 Wholly 任务视窗" -- Needs review
S["WIDE_SHOW"] = "显示" -- Needs review
S["WORLD_EVENTS"] = "世界事件" -- Needs review
S["YEARLY"] = "每年" -- Needs review
elseif "zhTW" == locale then
S["ABANDONED"] = "已放棄"
S["ACCEPTED"] = "已接受"
S["ACHIEVEMENT_COLORS"] = "顯示成就完成顏色"
S["ADD_ADVENTURE_GUIDE"] = "顯示每個區域的冒險指南"
S["ALL_FACTION_REPUTATIONS"] = "顯示所有陣營的聲望"
S["APPEND_LEVEL"] = "後面顯示需要等級"
S["BASE_QUESTS"] = "任務圖示 - 基本"
BINDING_NAME_WHOLLY_TOGGLEMAPPINS = "切換地圖圖示"
BINDING_NAME_WHOLLY_TOGGLESHOWCOMPLETED = "切換已完成的任務"
BINDING_NAME_WHOLLY_TOGGLESHOWDAILIES = "切換每日任務"
BINDING_NAME_WHOLLY_TOGGLESHOWNEEDSPREREQUISITES = "切換需要前置的任務"
BINDING_NAME_WHOLLY_TOGGLESHOWREPEATABLES = "切換重複任務"
BINDING_NAME_WHOLLY_TOGGLESHOWUNOBTAINABLES = "切換無法取得的任務"
BINDING_NAME_WHOLLY_TOGGLESHOWWEEKLIES = "切換每周任務"
S["BLIZZARD_TOOLTIP"] = "在遊戲內建的任務日誌中顯示任務資料庫的滑鼠提示資訊"
S["BREADCRUMB"] = "後續任務:"
S["BUGGED"] = "*** 有問題的 ***"
S["BUGGED_UNOBTAINABLE"] = "將有問題的任務視為不可取得"
S["BUILDING"] = "建築"
S["CHRISTMAS_WEEK"] = "聖誕週"
S["CLASS_ANY"] = "任何職業"
S["CLASS_NONE"] = "無"
S["COMPLETED"] = "已完成"
S["COMPLETION_DATES"] = "完成日期"
S["DROP_TO_START_FORMAT"] = "掉落 %s 開始 [%s]"
S["EMPTY_ZONES"] = "顯示空的區域" -- Needs review
S["ENABLE_COORDINATES"] = "在資訊列插件上顯示玩家座標"
S["ENTER_ZONE"] = "進入區域時取得"
S["ESCORT"] = "護送"
S["EVER_CAST"] = "曾經施放"
S["EVER_COMPLETED"] = "從未完成過"
S["EVER_EXPERIENCED"] = "有過經驗"
S["FACTION_BOTH"] = "聯盟 & 部落"
S["FIRST_PREREQUISITE"] = "前置任務串中的第一個:"
S["GENDER"] = "性別"
S["GENDER_BOTH"] = "男女皆可"
S["GENDER_NONE"] = "無"
S["GRAIL_NOT_HAVE"] = "Grail 資料庫內無此任務"
S["HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES"] = "隱藏暴雪獎勵目標圖示"
S["HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS"] = "隱藏暴雪地圖任務圖示"
S["HIDE_BLIZZARD_WORLD_MAP_TREASURES"] = "隱藏暴雪寶藏圖示"
S["HIDE_WORLD_MAP_FLIGHT_POINTS"] = "隱藏飛行鳥點圖示"
S["HIGH_LEVEL"] = "高等級"
S["HOLIDAYS_ONLY"] = "僅在節日時可取得:"
S["IGNORE_REPUTATION_SECTION"] = "忽略任務的聲望部分" -- Needs review
S["IN_LOG"] = "已接"
S["IN_LOG_STATUS"] = "在記錄中顯示任務狀態"
S["INVALIDATE"] = "被下列任務停用:"
S["IS_BREADCRUMB"] = "是下列的後續任務:"
S["ITEM"] = "物品"
S["ITEM_LACK"] = "缺少物品"
S["KILL_TO_START_FORMAT"] = "擊殺開始 [%s]"
S["LIVE_COUNTS"] = "即時更新數量"
S["LOAD_DATA"] = "讀取資料"
S["LOREMASTER_AREA"] = "博學大師區域"
S["LOW_LEVEL"] = "低等級"
S["MAP"] = "地圖"
S["MAPAREA_NONE"] = "無"
S["MAP_BUTTON"] = "在世界地圖上顯示切換顯示按鈕"
S["MAP_DUNGEONS"] = "在外部地圖顯示副本任務"
S["MAP_PINS"] = "在地圖上顯示任務給予者"
S["MAP_UPDATES"] = "區域變更時更新世界地圖"
S["MAXIMUM_LEVEL_NONE"] = "無"
S["MULTIPLE_BREADCRUMB_FORMAT"] = "有 %d 個後續任務"
S["MUST_KILL_PIN_FORMAT"] = "%s [擊殺]"
S["NEAR"] = "靠近"
S["NEEDS_PREREQUISITES"] = "需要前置"
S["NEVER_ABANDONED"] = "從未放棄"
S["OAC"] = "接受時完成任務"
S["OCC"] = "完成要求時完成任務"
S["OTC"] = "交回時完成任務"
S["OTHER"] = "其他"
S["OTHER_PREFERENCE"] = "其他"
S["PANEL_UPDATES"] = "變更區域時更新任務記錄視窗"
S["PLOT"] = "空地"
S["PREPEND_LEVEL"] = "前面顯示任務等級"
S["PREREQUISITES"] = "前置任務:"
S["QUEST_COUNTS"] = "顯示任務數量"
S["QUEST_ID"] = "任務 ID:"
S["QUEST_TYPE_NORMAL"] = "普通"
S["RACE_ANY"] = "任何種族"
S["RACE_NONE"] = "無"
S["RARE_MOBS"] = "稀有怪"
S["REPEATABLE"] = "可重複"
S["REPEATABLE_COMPLETED"] = "顯示已完成過的可重複任務"
S["REPUTATION_REQUIRED"] = "需要聲望"
S["REQUIRED_LEVEL"] = "等級要求"
S["REQUIRES_FORMAT"] = "Wholly 需要 Grail %s 或更新的版本"
S["RESTORE_DIRECTIONAL_ARROWS"] = "不要恢復方向箭頭" -- Needs review
S["SEARCH_ALL_QUESTS"] = "所有任務"
S["SEARCH_CLEAR"] = "清除"
S["SEARCH_NEW"] = "新的"
S["SELF"] = "自己"
S["SHOW_BREADCRUMB"] = "在任務提示中顯示後續任務資訊"
S["SHOW_LOREMASTER"] = "僅顯示博學大師成就相關任務"
S["SINGLE_BREADCRUMB_FORMAT"] = "可取得後續任務"
S["SP_MESSAGE"] = "不在遊戲內建任務記錄的特殊任務"
S["TAGS"] = "標籤"
S["TAGS_DELETE"] = "刪除標籤"
S["TAGS_NEW"] = "新增標籤"
S["TITLE_APPEARANCE"] = "任務標題"
S["TREASURE"] = "寶藏"
S["TURNED_IN"] = "交回"
S["UNOBTAINABLE"] = "無法取得"
S["WHEN_KILL"] = "擊殺時取得:"
S["WIDE_PANEL"] = "寬型視窗"
S["WIDE_SHOW"] = "顯示較寬的任務資料庫視窗"
S["WORLD_EVENTS"] = "世界事件"
S["YEARLY"] = "每年"
end
-- The first group of these are actually taken from Blizzard's global
-- variables that represent specific strings. In other words, these
-- do not need to be localized since Blizzard does the work for us.
S['MAILBOX'] = MINIMAP_TRACKING_MAILBOX -- "Mailbox"
S['CREATED_ITEMS'] = NONEQUIPSLOT -- "Created Items"
S['SLASH_TARGET'] = SLASH_TARGET1 -- "/target"
S['SPELLS'] = SPELLS -- "Spells"
S['FACTION'] = FACTION -- "Faction"
S['ALLIANCE'] = FACTION_ALLIANCE -- "Alliance"
S['HORDE'] = FACTION_HORDE -- "Horde"
S['ACHIEVEMENTS'] = ACHIEVEMENTS -- "Achievements"
S['PROFESSIONS'] = TRADE_SKILLS -- "Professions"
S['SKILL'] = SKILL -- "Skill"
S['STAGE_FORMAT'] = SCENARIO_STAGE -- "Stage %d"
S['CURRENTLY_EQUIPPED'] = CURRENTLY_EQUIPPED -- "Currently Equipped"
S['ILEVEL'] = ITEM_LEVEL_ABBR -- "iLvl"
S['UNAVAILABLE'] = UNAVAILABLE -- "Unavailable"
S['REMOVED'] = ACTION_SPELL_AURA_REMOVED -- "removed"
S['PENDING'] = PENDING_INVITE -- "Pending"
S['COMPLETED_FORMAT'] = DATE_COMPLETED -- "Completed: %s"
S['MAX_LEVEL'] = GUILD_RECRUITMENT_MAXLEVEL -- "Max Level"
S['FEMALE'] = FEMALE -- "Female"
S['MALE'] = MALE -- "Male"
S['REPUTATION_CHANGES'] = COMBAT_TEXT_SHOW_REPUTATION_TEXT -- "Reputation Changes"
S['QUEST_GIVERS'] = TUTORIAL_TITLE1 -- "Quest Givers"
S['TURN_IN'] = TURN_IN_QUEST -- "Turn in"
S['DAILY'] = DAILY -- "Daily"
S['WEEKLY'] = CALENDAR_REPEAT_WEEKLY -- "Weekly"
S['MONTHLY'] = CALENDAR_REPEAT_MONTHLY -- "Monthly"
S['DUNGEON'] = CALENDAR_TYPE_DUNGEON -- "Dungeon"
S['RAID'] = CALENDAR_TYPE_RAID -- "Raid"
S['PVP'] = CALENDAR_TYPE_PVP -- "PvP"
S['GROUP'] = CHANNEL_CATEGORY_GROUP -- "Group"
S['HEROIC'] = PLAYER_DIFFICULTY2 -- "Heroic"
S['SCENARIO'] = GUILD_CHALLENGE_TYPE4 -- "Scenario"
S['IGNORED'] = IGNORED -- "Ignored"
S['FAILED'] = FAILED -- "Failed"
S['COMPLETE'] = COMPLETE -- "Complete"
S['ALPHABETICAL'] = COMPACT_UNIT_FRAME_PROFILE_SORTBY_ALPHABETICAL -- "Alphabetical"
S['LEVEL'] = LEVEL -- "Level"
S['TYPE'] = TYPE -- "Type"
S['TIME_UNKNOWN'] = TIME_UNKNOWN -- "Unknown"
S['FILTERS'] = FILTERS -- "Filters"
S['WORLD_MAP'] = WORLD_MAP -- "World Map"
S['FOLLOWERS'] = GARRISON_FOLLOWERS -- "Followers"
S['BONUS_OBJECTIVE'] = TRACKER_HEADER_BONUS_OBJECTIVES -- "Bonus Objectives"
S['QUEST_REWARDS'] = QUEST_REWARDS -- "Rewards"
S['GAIN_EXPERIENCE_FORMAT'] = GAIN_EXPERIENCE -- "|cffffffff%d|r Experience"
S['REWARD_CHOICES'] = REWARD_CHOICES -- "You will be able to choose one of these rewards:"
S['PET_BATTLES'] = BATTLE_PET_SOURCE_5 -- "Pet Battle"
S['PLAYER'] = PLAYER -- "Player"
local C = Wholly.color
Wholly.configuration = {}
Wholly.configuration.Wholly = {
{ S.BASE_QUESTS },
{ S.COMPLETED, 'showsCompletedQuests', 'configurationScript1', nil, nil, 'C' },
{ S.NEEDS_PREREQUISITES, 'showsQuestsThatFailPrerequsites', 'configurationScript1', nil, nil, 'P' },
{ S.UNOBTAINABLE, 'showsUnobtainableQuests', 'configurationScript1', nil, nil, 'B' },
{ S.FILTERS },
{ S.REPEATABLE, 'showsRepeatableQuests', 'configurationScript1', nil, nil, 'R' },
{ S.DAILY, 'showsDailyQuests', 'configurationScript1', nil, nil, 'D' },
{ S.IN_LOG, 'showsQuestsInLog', 'configurationScript1', nil, nil, 'I' },
{ S.LOW_LEVEL, 'showsLowLevelQuests', 'configurationScript1', nil, nil, 'W' },
{ S.HIGH_LEVEL, 'showsHighLevelQuests', 'configurationScript1', nil, nil, 'L' },
{ S.SCENARIO, 'showsScenarioQuests', 'configurationScript1', nil },
{ S.WORLD_EVENTS, 'showsHolidayQuests', 'configurationScript1' },
{ S.IGNORED, 'showsIgnoredQuests', 'configurationScript1', nil },
{ S.WEEKLY, 'showsWeeklyQuests', 'configurationScript1', nil, nil, 'K' },
{ S.BONUS_OBJECTIVE, 'showsBonusObjectiveQuests', 'configurationScript1' },
{ S.RARE_MOBS, 'showsRareMobQuests', 'configurationScript1' },
{ S.TREASURE, 'showsTreasureQuests', 'configurationScript1' },
{ S.LEGENDARY, 'showsLegendaryQuests', 'configurationScript1', nil, nil, 'Y' },
{ S.PET_BATTLES, 'showsPetBattleQuests', 'configurationScript1' },
{ S.PVP, 'showsPVPQuests', 'configurationScript1' },
{ S.WORLD_QUEST, 'showsWorldQuests', 'configurationScript1', nil, nil, 'O' },
}
Wholly.configuration[S.TITLE_APPEARANCE] = {
{ S.TITLE_APPEARANCE },
{ S.PREPEND_LEVEL, 'prependsQuestLevel', 'configurationScript1' },
{ S.APPEND_LEVEL, 'appendRequiredLevel', 'configurationScript1' },
{ S.REPEATABLE_COMPLETED, 'showsAnyPreviousRepeatableCompletions', 'configurationScript1' },
{ S.IN_LOG_STATUS, 'showsInLogQuestStatus', 'configurationScript7' },
}
Wholly.configuration[S.WORLD_MAP] = {
{ S.WORLD_MAP },
{ S.MAP_PINS, 'displaysMapPins', 'configurationScript2', nil, 'pairedConfigurationButton' },
{ S.MAP_BUTTON, 'displaysMapFrame', 'configurationScript3' },
{ S.MAP_DUNGEONS, 'displaysDungeonQuests', 'configurationScript4' },
{ S.MAP_UPDATES, 'updatesWorldMapOnZoneChange', 'configurationScript1' },
{ S.HIDE_WORLD_MAP_FLIGHT_POINTS, 'hidesWorldMapFlightPoints', 'configurationScript16' },
{ S.HIDE_BLIZZARD_WORLD_MAP_TREASURES, 'hidesWorldMapTreasures', 'configurationScript16' },
{ S.HIDE_BLIZZARD_WORLD_MAP_BONUS_OBJECTIVES, 'hidesBlizzardWorldMapBonusObjectives', 'configurationScript17' },
{ S.HIDE_BLIZZARD_WORLD_MAP_QUEST_PINS, 'hidesBlizzardWorldMapQuestPins', 'configurationScript16' },
{ S.HIDE_BLIZZARD_WORLD_MAP_DUNGEON_ENTRANCES, 'hidesDungeonEntrances', 'configurationScript16' },
}
Wholly.configuration[S.WIDE_PANEL] = {
{ S.WIDE_PANEL },
{ S.WIDE_SHOW, 'useWidePanel', 'configurationScript11' },
{ S.QUEST_COUNTS, 'showQuestCounts', 'configurationScript12', },
{ S.LIVE_COUNTS, 'liveQuestCountUpdates', 'configurationScript13', },
}
Wholly.configuration[S.LOAD_DATA] = {
{ S.LOAD_DATA },
{ S.ACHIEVEMENTS, 'loadAchievementData', 'configurationScript9' },
{ S.REPUTATION_CHANGES, 'loadReputationData', 'configurationScript10', },
{ S.COMPLETION_DATES, 'loadDateData', 'configurationScript14', },
-- { S.QUEST_REWARDS, 'loadRewardData', 'configurationScript15', },
}
Wholly.configuration[S.OTHER_PREFERENCE] = {
{ S.OTHER_PREFERENCE },
{ S.PANEL_UPDATES, 'updatesPanelWhenZoneChanges', 'configurationScript1' },
{ S.SHOW_BREADCRUMB, 'displaysBreadcrumbs', 'configurationScript5' },
{ S.SHOW_LOREMASTER, 'showsLoremasterOnly', 'configurationScript4' },
{ S.ENABLE_COORDINATES, 'enablesPlayerCoordinates', 'configurationScript8', nil, 'pairedCoordinatesButton' },
{ S.ACHIEVEMENT_COLORS, 'showsAchievementCompletionColors', 'configurationScript1' },
{ S.BUGGED_UNOBTAINABLE, 'buggedQuestsConsideredUnobtainable', 'configurationScript4' },
{ S.BLIZZARD_TOOLTIP, 'displaysBlizzardQuestTooltips', 'configurationScript13' },
{ S.ALL_FACTION_REPUTATIONS, 'showsAllFactionReputations', 'configurationScript1' },
{ S.EMPTY_ZONES, 'displaysEmptyZones', 'configurationScript1' },
{ S.IGNORE_REPUTATION_SECTION, 'ignoreReputationQuests', 'configurationScript1' },
{ S.RESTORE_DIRECTIONAL_ARROWS, 'shouldNotRestoreDirectionalArrows', 'configurationScript1' },
{ S.ADD_ADVENTURE_GUIDE, 'shouldAddAdventureGuideQuests', 'configurationScript4' },
}
Wholly.poisToHide = {}
Wholly._HidePOIs = function(self)
if not InCombatLockdown() then
local wpth = self.poisToHide
for i = 1, #wpth do
wpth[i]:Hide()
end
Wholly.poisToHide = {}
else
self.combatHidePOI = true
self.notificationFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
end
end
hooksecurefunc("WorldMapFrame_Update", function()
local wpth = Wholly.poisToHide
if WhollyDatabase.hidesWorldMapFlightPoints or WhollyDatabase.hidesWorldMapTreasures or WhollyDatabase.hidesDungeonEntrances then
for i = 1, GetNumMapLandmarks() do
local landmarkType, name, description, textureIndex, x, y = GetMapLandmarkInfo(i)
local shouldHide = false
if WhollyDatabase.hidesWorldMapTreasures and 197 == textureIndex then shouldHide = true end
if WhollyDatabase.hidesDungeonEntrances and LE_MAP_LANDMARK_TYPE_DUNGEON_ENTRANCE == landmarkType then shouldHide = true end
if WhollyDatabase.hidesWorldMapFlightPoints and LE_MAP_LANDMARK_TYPE_TAXINODE == landmarkType then shouldHide = true end
if shouldHide then
local poi = _G["WorldMapFramePOI"..i]
if poi then
-- The "if poi then" check is probably not needed, but better safe than sorry!
-- print("Hiding icon for",name)
-- poi:Hide()
wpth[#wpth + 1] = poi
end
end
end
end
if WhollyDatabase.hidesBlizzardWorldMapQuestPins then
for i = 1, C_Questline.GetNumAvailableQuestlines() do
local poi = _G["WorldMapStoryLine"..i]
if poi then
wpth[#wpth + 1] = poi
end
end
end
Wholly:_HidePOIs()
end)
hooksecurefunc("WorldMap_UpdateQuestBonusObjectives", function()
if WhollyDatabase.hidesBlizzardWorldMapBonusObjectives then
local mapAreaID = GetCurrentMapAreaID()
local taskInfo = C_TaskQuest.GetQuestsForPlayerByMapID(mapAreaID)
local numTaskPOIs = 0;
if(taskInfo ~= nil) then
numTaskPOIs = #taskInfo;
end
local taskIconCount = 1;
if ( numTaskPOIs > 0 ) then
local wpth = Wholly.poisToHide
for _, info in next, taskInfo do
local taskPOIName = "WorldMapFrameTaskPOI"..taskIconCount;
local taskPOI = _G[taskPOIName];
-- taskPOI:Hide();
wpth[#wpth + 1] = taskPOI
taskIconCount = taskIconCount + 1;
end
Wholly:_HidePOIs()
end
end
end)
end
|
-- --------------------
-- TellMeWhen
-- Originally by Nephthys of Hyjal <lieandswell@yahoo.com>
-- Other contributions by:
-- Sweetmms of Blackrock, Oozebull of Twisting Nether, Oodyboo of Mug'thol,
-- Banjankri of Blackrock, Predeter of Proudmoore, Xenyr of Aszune
-- Currently maintained by
-- Cybeloras of Aerie Peak/Detheroc/Mal'Ganis
-- --------------------
if not TMW then return end
local TMW = TMW
local L = TMW.L
local print = TMW.print
local IconPosition = TMW:NewClass("GroupModule_IconPosition", "GroupModule")
IconPosition:RegisterGroupDefaults{
SettingsPerView = {
["**"] = {
SpacingX = 0,
SpacingY = 0,
}
},
}
TMW:RegisterUpgrade(60005, {
group = function(self, gs)
gs.SettingsPerView.icon.SpacingX = gs.Spacing or 0
gs.SettingsPerView.icon.SpacingY = gs.Spacing or 0
gs.Spacing = nil
end,
})
IconPosition:RegisterConfigPanel_XMLTemplate(30, "TellMeWhen_GM_IconPosition")
function IconPosition:OnEnable()
TMW:RegisterCallback("TMW_GROUP_SETUP_POST", self)
end
function IconPosition:OnDisable()
TMW:UnregisterCallback("TMW_GROUP_SETUP_POST", self)
end
function IconPosition:Icon_SetPoint(icon, positionID)
self:AssertSelfIsInstance()
local group = self.group
local gspv = group:GetSettingsPerView()
local Columns = group.Columns
local row = ceil(positionID / Columns)
local column = (positionID - 1) % Columns + 1
local sizeX, sizeY = group.viewData:Icon_GetSize(icon)
local position = icon.position
position.relativeTo = group
position.point, position.relativePoint = "TOPLEFT", "TOPLEFT"
position.x = (sizeX + gspv.SpacingX)*(column-1)
position.y = -(sizeY + gspv.SpacingY)*(row-1)
icon:ClearAllPoints()
icon:SetPoint(position.point, position.relativeTo, position.relativePoint, position.x, position.y)
end
function IconPosition:PositionIcons()
local group = self.group
for iconID = 1, group.numIcons do
local icon = group[iconID]
self:Icon_SetPoint(icon, icon.ID)
end
end
local clobberWarned = false
function IconPosition:ClobberCheck(ics)
if not TMW:DeepCompare(TMW.DEFAULT_ICON_SETTINGS, ics) then
if not clobberWarned then
TMW:Print(TMW.L["RESIZE_GROUP_CLOBBERWARN"])
clobberWarned = true
end
return true
end
return false -- signal that we don't care about these icon settings.
end
function IconPosition:AdjustIconsForModNumRowsCols(deltaRows, deltaCols)
-- do nothing for rows
local group = self.group
if deltaCols ~= 0 then
if not group.__iconPosClobbered then
group.__iconPosClobbered = setmetatable({}, {__index = function(t, k)
t[k] = {}
return t[k]
end})
end
local columns_old = group.Columns
local columns_new = group.Columns + deltaCols
local iconsCopy = TMW.shallowCopy(group:GetSettings().Icons)
wipe(group:GetSettings().Icons)
for iconID, ics in pairs(iconsCopy) do
local row_old = ceil(iconID / columns_old)
local column_old = (iconID - 1) % columns_old + 1
local row_new = ceil(iconID / columns_new)
local column_new = (iconID - 1) % columns_new + 1
local newIconID = iconID + (row_old-1)*deltaCols
if column_old > columns_new then
if self:ClobberCheck(ics) then
group.__iconPosClobbered[row_old][column_old] = ics
end
else
group:GetSettings().Icons[newIconID] = ics
if column_old == columns_old then
for i = columns_old + 1, columns_new do
local newIconID = newIconID + i - columns_old
local row_new = ceil(newIconID / columns_new)
group:GetSettings().Icons[newIconID] = group.__iconPosClobbered[row_new][i]
end
end
end
end
-- Causes a whole lot of warnings that are wrong if we don't do this.
wipe(TMW.ValidityCheckQueue)
end
end
function IconPosition:TMW_GROUP_SETUP_POST(event, group)
if self.group == group then
self:PositionIcons()
end
end
|
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('StoryBit', {
ActivationEffects = {},
Category = "Tick_FounderStageDone",
Effects = {},
EnableChance = 20,
Enabled = true,
Image = "UI/Messages/Events/05_mysterious_stranger.tga",
Prerequisites = {
PlaceObj('CheckObjectCount', {
'Label', "Colonist",
'Filters', {},
'Condition', ">=",
'Amount', 50,
}),
},
ScriptDone = true,
Text = T(926491438625, --[[StoryBit MorningStar Text]] '"I want you to have something nice. Here’s the menu. No need to worry about the cost, okay?"\n\n<if(is_commander("psychologist"))>[<commander_profile>] This is a classic case of personality disorder. He needs my help.</if>'),
TextReadyForValidation = true,
TextsDone = true,
Title = T(523495728078, --[[StoryBit MorningStar Title]] "Morning Star"),
VoicedText = T(588086459461, --[[voice:narrator]] '"I am the Devil, and I have a proposal you might find intriguing." This bizarre statement comes from a rather unremarkable Colonist with a mischievous smile on his face.'),
group = "Default",
id = "MorningStar",
PlaceObj('StoryBitReply', {
'Text', T(730730746475, --[[StoryBit MorningStar Text]] "I don’t have time for this!"),
}),
PlaceObj('StoryBitOutcome', {
'Prerequisites', {},
'VoicedText', T(866067648625, --[[voice:narrator]] '"A once in a lifetime opportunity, and you’re so quick to throw it away", he nods in disapproval, then leaves your office.'),
'Text', T(404471535031, --[[StoryBit MorningStar Text]] "Strangely, the cameras outside pick no trace of him, and the later check throughout the colony finds no trace of him."),
'Effects', {},
}),
PlaceObj('StoryBitReply', {
'Text', T(336158371727, --[[StoryBit MorningStar Text]] "I will play your game, let’s see what you have to offer."),
'OutcomeText', "custom",
'CustomOutcomeText', T(236656828790, --[[StoryBit MorningStar CustomOutcomeText]] "make a choice"),
}),
PlaceObj('StoryBitOutcome', {
'Prerequisites', {},
'Enables', {
"MorningStar_3_SmallPunishment",
},
'Effects', {
PlaceObj('ActivateStoryBit', {
'Id', "MorningStar_1_Choice",
}),
},
}),
PlaceObj('StoryBitReply', {
'Text', T(546260494664, --[[StoryBit MorningStar Text]] "Begone, Satan!"),
'Prerequisite', PlaceObj('IsSponsor', {
'SponsorName', "NewArk",
}),
}),
PlaceObj('StoryBitOutcome', {
'Prerequisites', {},
'VoicedText', T(474434798796, --[[voice:narrator]] "The strange man cries in anguish and rushes out of your office. "),
'Text', T(752743149230, --[[StoryBit MorningStar Text]] "When you run a check on him, you find nothing in the colony records, and he is nowhere to be seen on the security cameras. Rather disturbing."),
'Effects', {},
}),
PlaceObj('StoryBitReply', {
'Text', T(127147080279, --[[StoryBit MorningStar Text]] "Color me intrigued, but let’s negotiate the terms."),
'OutcomeText', "custom",
'CustomOutcomeText', T(150040332640, --[[StoryBit MorningStar CustomOutcomeText]] "gain two choices"),
'Prerequisite', PlaceObj('IsCommander', {
'CommanderProfile', "oligarch",
}),
}),
PlaceObj('StoryBitOutcome', {
'Prerequisites', {},
'Enables', {
"MorningStar_4_BigPunishment",
},
'Effects', {
PlaceObj('ActivateStoryBit', {
'Id', "MorningStar_2_Oligarh",
}),
},
}),
PlaceObj('StoryBitReply', {
'Text', T(583078978357, --[[StoryBit MorningStar Text]] "Very intriguing, let me call for my associates..."),
'OutcomeText', "custom",
'CustomOutcomeText', T(504618292001, --[[StoryBit MorningStar CustomOutcomeText]] "call security"),
'Prerequisite', PlaceObj('IsCommander', {
'CommanderProfile', "psychologist",
}),
}),
PlaceObj('StoryBitOutcome', {
'Prerequisites', {},
'VoicedText', T(238012824696, --[[voice:narrator]] "The security Officers apprehend the strange man. "),
'Text', T(971061825016, --[[StoryBit MorningStar Text]] "He walks out without struggle, but later you find out that his cell is empty. He is nowhere to be found across the colony."),
'Effects', {},
}),
})
|
-- ======================================================================
-- Copyright (c) 2012 RapidFire Studio Limited
-- All Rights Reserved.
-- http://www.rapidfirestudio.com
-- Permission is hereby granted, free of charge, to any person obtaining
-- a copy of this software and associated documentation files (the
-- "Software"), to deal in the Software without restriction, including
-- without limitation the rights to use, copy, modify, merge, publish,
-- distribute, sublicense, and/or sell copies of the Software, and to
-- permit persons to whom the Software is furnished to do so, subject to
-- the following conditions:
-- The above copyright notice and this permission notice shall be
-- included in all copies or substantial portions of the Software.
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-- ======================================================================
local Pos = require("api.Pos")
local AStar = {}
----------------------------------------------------------------
-- local functions
----------------------------------------------------------------
local function heuristic_cost_estimate(node_a, node_b)
return Pos.dist(node_a.x, node_a.y, node_b.x, node_b.y)
end
local function is_valid_node(node, neighbor)
return node.can_access
end
local function lowest_f_score(set, f_score)
local lowest, best_node = math.huge, nil
for _, node in ipairs(set) do
local score = f_score[node]
if score < lowest then
lowest, best_node = score, node
end
end
return best_node
end
local function neighbor_nodes(the_node, nodes, valid_node_func)
local neighbors = {}
for _, node in ipairs(nodes) do
if the_node ~= node and valid_node_func(the_node, node) then
table.insert(neighbors, node)
end
end
return neighbors
end
local function not_in(set, the_node)
for _, node in ipairs(set) do
if node == the_node then return false end
end
return true
end
local function remove_node(set, the_node)
for i, node in ipairs(set) do
if node == the_node then
set[i] = set[#set]
set[#set] = nil
break
end
end
end
local function unwind_path(flat_path, map, current_node)
if map[current_node] then
table.insert(flat_path, 1, map[current_node])
return unwind_path(flat_path, map, map[current_node])
else
return flat_path
end
end
----------------------------------------------------------------
-- pathfinding functions
----------------------------------------------------------------
local function a_star(start, goal, nodes, valid_node_func, cost_func)
local closedset = {}
local openset = { start }
local came_from = {}
local _is_valid_node = is_valid_node
if valid_node_func then _is_valid_node = valid_node_func end
local _cost = heuristic_cost_estimate
if cost_func then _cost = cost_func end
local g_score, f_score = {}, {}
g_score[start] = 0
f_score[start] = g_score[start] + _cost(start, goal)
while #openset > 0 do
local current = lowest_f_score(openset, f_score)
if current == goal then
local path = unwind_path({}, came_from, goal)
table.insert(path, goal)
return path
end
remove_node(openset, current)
table.insert(closedset, current)
local neighbors = neighbor_nodes(current, nodes, _is_valid_node)
for _, neighbor in ipairs(neighbors) do
if not_in(closedset, neighbor) then
local tentative_g_score = g_score[current] + Pos.dist(current.x, current.y, neighbor.x, neighbor.y)
if not_in(openset, neighbor) or tentative_g_score < g_score[neighbor] then
came_from[neighbor] = current
g_score[neighbor] = tentative_g_score
f_score[neighbor] = g_score[neighbor] + _cost(neighbor, goal)
if not_in(openset, neighbor) then
table.insert(openset, neighbor)
end
end
end
end
end
return nil -- no valid path
end
----------------------------------------------------------------
-- exposed functions
----------------------------------------------------------------
function AStar.make_access_table(map)
local access = {}
for _, x, y in map:iter_tiles() do
local ind = y * map:width() + x + 1
access[ind] = { x = x, y = y, can_access = map:can_access(x, y) }
end
access.width = map:width()
access.height = map:height()
return access
end
function AStar.path(start_x, start_y, goal_x, goal_y, access, cache, valid_node_cb, cost_cb)
local start_ind = start_y * access.width + start_x + 1;
local goal_ind = goal_y * access.width + goal_x + 1;
local start = assert(access[start_ind])
local goal = assert(access[goal_ind])
assert(start.x == start_x and start.y == start_y)
assert(goal.x == goal_x and goal.y == goal_y)
if cache then
if not cache[start] then
cache[start] = {}
elseif cache[start][goal] then
return cache[start][goal]
end
end
local res_path = a_star(start, goal, access, valid_node_cb, cost_cb)
if cache then
if not cache[start][goal] then
cache[start][goal] = res_path
end
end
return res_path
end
return AStar
|
local skynet = require "skynet"
local log = require "log"
local config = require "config"
local redis_conf = skynet.getenv "redis"
local name = config (redis_conf)
local connection = {}
skynet.start(function()
skynet.dispatch("lua", function (session, from, dbname)
if connection[dbname] then
skynet.ret(skynet.pack(connection[dbname]))
return
end
if name[dbname] == nil then
log.Error("Invalid db name : "..dbname)
skynet.ret(skynet.pack(nil))
return
end
local redis_cli = skynet.newservice("redis-cli", name[dbname])
connection[dbname] = redis_cli
skynet.ret(skynet.pack(redis_cli))
end)
end)
|
repeat
k = math.random(19)
print(k)
if k == 10 then break end
print(math.random(19)
until false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.