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: 1717, today: 2, yesterday: 0
Last-modified: 2009-09-12 (Sat) 18:25:16 (JST) (5348d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 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 31
Today

Who's Online

98 user(s) are online (25 user(s) are browsing xpwiki)

Members: 0
Guests: 98

more...

Access Counter

Today : 8060806080608060
Yesterday : 1615016150161501615016150
Total : 2348735323487353234873532348735323487353234873532348735323487353
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com