Пример #1
0
        public ChannelInfoParser()
        {
            bool flag = this._holder == null;

            if (flag)
            {
                this._holder = ChannelInfoHolder.getInstance();
            }
            string text  = "Data//ChannelTemplate.xml";
            bool   flag2 = File.Exists(text);

            if (flag2)
            {
                this.parse(text);
            }
            else
            {
                CLogger.getInstance().info("[ChannelInfoParser]: No Have File: " + text);
            }
            bool flag3 = this._holder != null;

            if (flag3)
            {
                this._holder.log();
            }
        }
Пример #2
0
 public static void Load()
 {
     GameClientManager.getInstance();
     ChannelInfoParser.getInstance();
     PlayerTemplateParser.getInstance();
     GameServerInfoParser.getInstance();
     StartedInventoryItemsParser.getInstance();
     RankExpInfoParser.getInstance();
     StartedInventoryItemsHolder.getInstance();
     TutorialParser.Load();
     ChannelInfoHolder.getInstance();
     PlayerTemplateHolder.getInstance();
     RankExpInfoHolder.getInstance();
 }
Пример #3
0
        public ChannelInfoParser()
        {
            if (this._holder == null)
            {
                this._holder = ChannelInfoHolder.getInstance();
            }
            string path = "data//channelTemplate.xml";

            if (File.Exists(path))
            {
                this.parse(path);
            }
            else
            {
                CLogger.getInstance().info("[ChannelInfoParser]: No Have File: " + path);
            }
            if (this._holder == null)
            {
                return;
            }
            this._holder.log();
        }