コード例 #1
0
        public void OnLoaded()
        {
            ConfigCommonEntity entity = new ConfigCommonEntity {
                EntityProperties = EMTPY_PROPERTIES,
                CommonArguments  = this.CommonArguments
            };

            this.CommonConfig = entity;
        }
コード例 #2
0
ファイル: ConfigAvatar.cs プロジェクト: slb1988/agame
        public void OnLoaded()
        {
            if (base.MPArguments == null)
            {
                base.MPArguments = MPData.AVATAR_DEFAULT_MP_SETTINGS;
            }
            ConfigCommonEntity entity = new ConfigCommonEntity {
                CommonArguments  = this.CommonArguments,
                EntityProperties = this.EntityProperties,
                MPArguments      = base.MPArguments
            };

            base.CommonConfig = entity;
        }
コード例 #3
0
        public void OnLoaded()
        {
            if (this.AIArguments == null)
            {
                this.AIArguments = new ConfigMonsterAIArguments();
            }
            if (base.MPArguments == null)
            {
                base.MPArguments = MPData.MONSTER_DEFAULT_MP_SETTINGS;
            }
            ConfigCommonEntity entity = new ConfigCommonEntity {
                EntityProperties = this.EntityProperties,
                CommonArguments  = this.CommonArguments,
                MPArguments      = base.MPArguments
            };

            base.CommonConfig = entity;
        }