JGSL_config
JGSL server configuration.
Title |
JGSL server configuration. |
Author(s) |
LiXizhi |
Date |
2008/12/25 |
File |
script/kids/3DMapSystemNetwork/JGSL_config.lua |
Description
configuration is usually loaded from "config/jgsl.config.xml". Please read the config file, it is self-explanatory.
Sample Code
NPL.load("(gl)script/kids/3DMapSystemNetwork/JGSL_config.lua");
Map3DSystem.JGSL.config:load("config/jgsl.config.xml")
Member Functions
config:load
default settings
config.GridNodeRules = {
-- an array of tables of {worldfilter, gridsize, fromx, fromy, tox, toy}
}
;
load config from a given file.
- param filename : if nil, it will be "config/jgsl.config.xml"
syntax
function config:load(filename)
parameters
filename |
if nil, it will be "config/jgsl.config.xml" |
Topic revision: r1 - 2008-02-29
- LiXizhi