Moderator
M
Moderator
22:15, 10th Oct 2012
Magtheridon96: Approved.
Magtheridon96: Approved.
function AddCSS takes integer ii, integer si returns nothing
call SaveInteger(udg_CSS_Hash, 1, ii, si)
call SaveInteger(udg_CSS_Hash, 1, si, ii)
endfunction
function SetCSSTypeB takes integer ii, boolean b returns nothing
call SaveBoolean(udg_CSS_Hash, 0, ii, b)
endfunction
function SetCSSClassB takes integer ii, boolean b returns nothing
call SaveBoolean(udg_CSS_Hash, 8, ii, b)
endfunction
function SetCSSType takes integer ii, integer i returns nothing
call SaveInteger(udg_CSS_Hash, 2, ii, i)
endfunction
function SetCSSCost takes integer ii, integer i returns nothing
call SaveInteger(udg_CSS_Hash, 3, ii, i)
endfunction
function SetCSSMaxLevel takes integer ii, integer i returns nothing
call SaveInteger(udg_CSS_Hash, 4, ii, i)
endfunction
function SetCSSClass takes integer ii, integer i returns nothing
call SaveInteger(udg_CSS_Hash, 5, ii, i)
endfunction
function SetCSSReqLevel takes integer ii, integer i returns nothing
call SaveInteger(udg_CSS_Hash, 6, ii, i)
endfunction
function SetCSSPoint takes unit u, integer p returns nothing
call SaveInteger(udg_CSS_Hash, 7, GetHandleId(u), p)
endfunction
function AddCSSPoint takes unit u, integer p returns nothing
call SaveInteger(udg_CSS_Hash, 7, GetHandleId(u), LoadInteger(udg_CSS_Hash, 7, GetHandleId(u)) + p)
endfunction
function GetCSSSpell takes integer ii returns integer si
return LoadInteger(udg_CSS_Hash, 1, ii)
endfunction
function GetCSSItem takes integer si returns integer ii
return LoadInteger(udg_CSS_Hash, 1, si)
endfunction
function GetCSSType takes integer ii returns integer i
return LoadInteger(udg_CSS_Hash, 2, ii)
endfunction
function GetCSSCost takes integer ii returns integer i
return LoadInteger(udg_CSS_Hash, 3, ii)
endfunction
function GetCSSMaxLevel takes integer ii returns integer i
return LoadInteger(udg_CSS_Hash, 4, ii)
endfunction
function GetCSSClass takes integer ii returns integer i
return LoadInteger(udg_CSS_Hash, 5, ii)
endfunction
function GetCSSReqLevel takes integer ii returns integer i
return LoadInteger(udg_CSS_Hash, 6, ii)
endfunction
function GetCSSPoint takes unit u returns integer i
return LoadInteger(udg_CSS_Hash, 7, GetHandleId(u))
endfunction
function GetCSSClassB takes integer ii returns boolean b
return LoadBoolean(udg_CSS_Hash, 8, ii)
endfunction
function GetCSSTypeB takes integer ii returns boolean b
return LoadBoolean(udg_CSS_Hash, 0, ii)
endfunction
function GetCSSUnitS takes unit u, integer i returns integer si
return LoadInteger(udg_CSS_Hash, GetHandleId(u), i)
endfunction