flagflag  

IConfigSource anchor.png

Page Top

OpenSim.ini 解析用 anchor.png

  • 例)
    void example(IConfigSource source)
    {
        IConfig net = source.Configs["Network"];
        m_servIP  = Util.GetHostFromURL(net.GetString("user_server_url")).ToString();
    
        IConfig eco = source.Configs["Economy"];
        m_servURL = eco.GetString("CurrencyServer").ToString();
    
        string mode = source.Configs["Messaging"].GetString("InventoryTransferModule", "InventoryTransferModule");
    
        bool check  = source.Configs["realXtend"].GetBoolean("enabled", true));
        ..............................
        ..............................
        ..............................
    }

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1710, today: 1, yesterday: 1
Last-modified: 2009-09-12 (Sat) 18:25:16 (JST) (5333d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

66 user(s) are online (5 user(s) are browsing xpwiki)

Members: 0
Guests: 66

more...

Access Counter

Today : 4739473947394739
Yesterday : 1169911699116991169911699
Total : 2329207423292074232920742329207423292074232920742329207423292074
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com