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.

TIP 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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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