---++!! !AppKeys %TOC{title="Contents:"}% %STARTINCLUDE% ---++ well known application keys | *Title* | well known application keys | | *Author(s)* | LiXizhi | | *Date* | 2008/1/3 | | *File* | script/kids/3DMapSystemApp/AppKeys.lua | ---+++ Description a mapping from name short cut to application keys %T% __Sample Code__ <verbatim> NPL.load("(gl)script/kids/3DMapSystemApp/AppKeys.lua"); Map3DSystem.App.GenerateAppDevWikiPages() </verbatim> ---+++ Member Functions ---++++ !Map3DSystem.App._debug.PrintAppDirectory <verbatim> TODO: well known application keys Map3DSystem.App.AppKeys = { Profile Application ["profiles"] = "profiles_GUID", my land, my worlds, map bbs, map search, etc. ["map"] = "Map_GUID", ccs panel, ["CCS"] = "CCS_GUID", assets panel, ["Assets"] = "Assets_GUID", creator app ["Creator"] = "Creator_GUID", worlds app: new, save, load world, etc. ["worlds"] = "worlds_GUID", ["Debug"] = "Debug_GUID", ["MyDesktop"] = "MyDesktop_GUID", environment modification, like ocean, sky, terrain, etc. ["Env"] = "Env_GUID", ["Developers"] = "Developers_GUID", taking screen shot and upload to website ["screenshot"] = "ScreenShot_GUID", action feed ["actionfeed"] = "ActionFeed_GUID", pet app ["pet"] = "ParaEngine.App.Pet.1.0", bcs panel, ["BCS"] = "ParaEngine.App.BCS.1.0", ["Blueprint"] = "Blueprint_GUID", new world wizards ["createworld"] = "ParaEngine.App.createworld.1.0", IM, chat, city chat, etc. ["chat"] = "Chat_GUID", ["EBook"] = "EBook_GUID", world uploader and publication to map app. ["publisher"] = "ParaEngine.App.publisher.1.0", like the audition game ["dance"] = "ParaEngine.App.dance.1.0", ["inventory"] = "ParaEngine.App.inventory.1.0", avatar appearance of the current user. ["avatar"] = "ParaEngine.App.avatar.1.0", ["poke"] = "ParaEngine.App.poke.1.0", ["wall"] = "ParaEngine.App.wall.1.0", artist SDK tools. ["SDK"] = "ParaEngine.App.SDK.1.0", ["videorecorder"] = "ParaEngine.App.videorecorder.1.0", }; Uninstallable official app_key. applications with the following keys can not be uninstalled, either because they are core utility app or official ones. Map3DSystem.App.UninstallableKeys = { system module ["EditApps_GUID"] = true, ["RoomHostApp"] = true, ["Inventory_GUID"] = true, ["ActionFeed_GUID"] = true, ["WebBrowser_GUID"] = true, uninstallable in current version ["worlds_GUID"] = true, ["profiles_GUID"] = true, ["Creator_GUID"] = true, ["Chat_GUID"] = true, ["Assets_GUID"] = true, ["Env_GUID"] = true, ["MyDesktop_GUID"] = true, ["ScreenShot_GUID"] = true, } application categories local AppCategory = { utility = 0, game = 1, just_for_fun = 2, dating = 3, business = 4, education = 5, others = nil, -- TODO: add more here }</verbatim>; Map3DSystem.App.AppCategory = AppCategory Map3DSystem.App._debug = {} print app directory to log file. __syntax__ <verbatim>function Map3DSystem.App._debug.PrintAppDirectory()</verbatim> ---++++ !Map3DSystem.App._debug.PrintAppWikiDirectory print app directory as wiki items. __syntax__ <verbatim>function Map3DSystem.App._debug.PrintAppWikiDirectory()</verbatim> ---++++ !Map3DSystem.App.RegisterOfficialApps register all offcial applications with the remote server. This function is for adiministration purposes only. %TESTCASE{"Register Official Apps", func="Map3DSystem.App.RegisterOfficialApps", input={uid = "123", size = 100}}% __syntax__ <verbatim>function Map3DSystem.App.RegisterOfficialApps(input)</verbatim> __parameters__ | *input* | | ---++++ !Map3DSystem.App.GenerateAppDevWikiPages generate application dev wiki page for all official application. The wiki word is always XXXAppDev and parent topic is OfficialApps __syntax__ <verbatim>function Map3DSystem.App.GenerateAppDevWikiPages()</verbatim> %STOPINCLUDE%
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2008-02-29
-
LiXizhi
Home
Site map
CCWeb web
HaqiTeen web
Main web
ParaEngine web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
导航页WebTopMenu
Preferences
开发指南
Getting Started
ParacraftSDK
NPL
MCML
NPL Reference Manual
美术Mod
Account
Log In
English
简体中文
簡體中文
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback