luaapi:px_profman
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| luaapi:px_profman [28/10/2012 00:05] – ppk | luaapi:px_profman [16/06/2015 14:03] (current) – ppk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Profile manager  | + | ====== Profile manager  | 
| ^ Function ^ Description ^ | ^ Function ^ Description ^ | ||
| - | |ProfMan.AddProfile(sProfileName)|Add profile to profilemanager, | + | |ProfMan.AddProfile(sProfileName)|Add profile to profilemanager, | 
| - | |ProfMan.RemoveProfile(sProfileName)|Remove profile from profilemanager, | + | |ProfMan.RemoveProfile(sProfileName/ | 
| | | | | | | | | ||
| - | |ProfMan.MoveDown(nProfileNumber)|Move profile down. Return nil when failed, true if success.| | + | |ProfMan.MoveDown(iProfileNumber)|Move profile down. Return nil when failed, true if success.| | 
| - | |ProfMan.MoveUp(nProfileNumber)|Move profile up. Return nil when failed, true if success.| | + | |ProfMan.MoveUp(iProfileNumber)|Move profile up. Return nil when failed, true if success.| | 
| | | | | | | | | ||
| - | |ProfMan.GetProfile(sProfileName/ | + | |ProfMan.GetProfile(sProfileName/ | 
| |ProfMan.GetProfiles()|Return table with profiles as [[luaapi: | |ProfMan.GetProfiles()|Return table with profiles as [[luaapi: | ||
| | | | | | | | | ||
| - | |ProfMan.GetProfilePermission(nProfileNumber, [[luaapi: | + | |ProfMan.GetProfilePermission(iProfileNumber, [[luaapi: | 
| - | |ProfMan.GetProfilePermissions(nProfileNumber)|Return [[luaapi: | + | |ProfMan.GetProfilePermissions(iProfileNumber)|Return [[luaapi: | 
| | | | | | | | | ||
| - | |ProfMan.SetProfileName(nProfileNumber, sProfileName)|Change profile name, return true if success or nil if profile not exist.| | + | |ProfMan.SetProfileName(iProfileNumber, sProfileName)|Change profile name, return true if success or nil if profile not exist.| | 
| - | |ProfMan.SetProfilePermission(nProfileNumber, [[luaapi: | + | |ProfMan.SetProfilePermission(iProfileNumber, [[luaapi: | 
| | | | | | | | | ||
| |ProfMan.Save()|Save profiles.| | |ProfMan.Save()|Save profiles.| | ||
luaapi/px_profman.1351382739.txt.gz · Last modified:  by ppk
                
                