public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints                   = true;
     mTask_loyalty_counter                = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mTask_death_target_first             = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "");
     mTask_death_target_second            = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "");
     mTask_spare_target_first             = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "");
     mTask_spare_occupation_selector      = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mTask_daily_profiles                 = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "template_profile;template_random_profile;");
     mTask_death_occupation_selector      = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mTask_profile_count                  = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mTask_description_top                = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mTask_death_threshold_younger        = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years ");
     mTask_death_threshold_older          = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mTask_spare_threshold_younger        = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mTask_spare_threshold_older          = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mTask_description_bottom             = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mTask_death_occupation_amount        = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_death_threshold_younger_amount = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_death_threshold_older_amount   = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_spare_occupation_amount        = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_spare_threshold_younger_amount = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_spare_threshold_older_amount   = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_death_count      = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_profile_shuffler = new Articy.Unity.Constraints.BooleanConstraint(false);
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mMoraleValue       = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mSmallTextValue    = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
     mNumberValue       = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mMediumTextValue   = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mSmallTextValue_02 = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
     mGene   = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
     mColere = new Articy.Unity.Constraints.ReferenceSlotConstraint("FlowFragment;Dialogue;DialogueFragment;Condition;Instruction;Hub;Jump;Entity;Location;Link;Path;Spot;Zone;LocationText;LocationImage;Document;TextObject;Journey;Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
 }
Пример #4
0
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mAge         = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mSpecies     = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mBornIn      = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mSex         = new Articy.Unity.Constraints.EnumConstraint(true, "BySortIndex");
     mOccupation  = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mAccent      = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mPersonality = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mAppearance  = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mAge             = new Articy.Unity.Constraints.NumberConstraint(0, 100, 0, 0, 0, "years");
     mVoiceActor      = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
     mBackgroundStory = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mMotivation      = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mLikes           = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "Character;");
     mDislikes        = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "Character;");
     mLikedBy         = new Articy.Unity.Constraints.QueryReferenceStripConstraint(10000, "", "", null, null);
     mDislikedBy      = new Articy.Unity.Constraints.QueryReferenceStripConstraint(10000, "", "", null, null);
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mM_CharID          = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mM_CharHP          = new Articy.Unity.Constraints.NumberConstraint(0, 100, 0, 0, 0, null);
     mM_CharMP          = new Articy.Unity.Constraints.NumberConstraint(0, 100, 0, 0, 0, "");
     mM_CharOnScreen    = new Articy.Unity.Constraints.BooleanConstraint(false);
     mM_CharIsDead      = new Articy.Unity.Constraints.BooleanConstraint(false);
     mM_CharScript      = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mM_CharMaxHP       = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mM_CharMaxMP       = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints              = true;
     mProfile_spare_news_third       = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mProfile_spare_news_second      = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mProfile_spare_instruction      = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mProfile_spare_ecology_value    = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_news_first       = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mProfile_spare_peace_value      = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_healthcare_value = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_prosperity_value = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_enabler          = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "");
     mProfile_spare_disabler         = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "");
 }
Пример #8
0
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints  = true;
     mMediumTextValue_02 = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mMediumTextValue_03 = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mMediumTextValue_04 = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mMediumTextValue_05 = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mNumberValue        = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mBooleanValue       = new Articy.Unity.Constraints.BooleanConstraint(false);
     mNumberValue_02     = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mMediumTextValue    = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mMediumTextValue_06 = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, true);
     mBooleanValue_02    = new Articy.Unity.Constraints.BooleanConstraint(false);
     mBooleanValue_03    = new Articy.Unity.Constraints.BooleanConstraint(false);
     mNumberValue_03     = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
 }
Пример #9
0
 /// <summary>
 /// Creates a new <see cref="OasSchema"/> value.
 /// </summary>
 /// <param name="type">The general type of the schema.</param>
 /// <param name="format">The specific type of the schema/</param>
 /// <param name="title">The title of the schema.</param>
 /// <param name="description">The description of the schema.</param>
 /// <param name="numberRange">The range of valid numbers.</param>
 /// <param name="itemsRange">The range of valid item counts.</param>
 /// <param name="lengthRange">The range of valid lengths.</param>
 /// <param name="propertiesRange">The range of valid property counts.</param>
 /// <param name="options">The schema options.</param>
 /// <param name="pattern">The regex validation for string values.</param>
 /// <param name="enum">The valid enum values.</param>
 /// <param name="allOf">The list of schemas that this schema must conform to.</param>
 /// <param name="oneOf">The list of schemas that, from which exactly one, this schema must conform to.</param>
 /// <param name="anyOf">The list of schemas that, from which one or more, this schema must conform to.</param>
 /// <param name="not">The list of schemas that this schema must not conform to.</param>
 /// <param name="items">The list of schemas that represent the array items that this schema must contain.</param>
 /// <param name="properties">The list of valid properties.</param>
 /// <param name="additionalProperties">The list of valid properties for children.</param>
 /// <param name="externalDocumentation">The external documentation.</param>
 public OasSchema(
     OasSchemaType type = default,
     string format = null,
     string title = null,
     string description = null,
     NumberConstraint numberRange = default,
     CountConstraint itemsRange = default,
     CountConstraint lengthRange = default,
     CountConstraint propertiesRange = default,
     OasSchemaOptions options = default,
     string pattern = default,
     IReadOnlyList<OasScalarValue> @enum = default,
     IReadOnlyList<OasReferable<OasSchema>> allOf = default,
     IReadOnlyList<OasReferable<OasSchema>> oneOf = default,
     IReadOnlyList<OasReferable<OasSchema>> anyOf = default,
     IReadOnlyList<OasReferable<OasSchema>> not = default,
     OasReferable<OasSchema> items = default,
     IReadOnlyDictionary<string, OasReferable<OasSchema>> properties = default,
     IReadOnlyDictionary<string, OasReferable<OasSchema>> additionalProperties = default,
     OasExternalDocumentation externalDocumentation = default)
 {
     JsonType = type;
     Title = title;
     Format = format;
     Description = description;
     NumberRange = numberRange;
     ItemsRange = itemsRange;
     LengthRange = lengthRange;
     PropertiesRange = propertiesRange;
     Options = options;
     Pattern = pattern;
     Enum = @enum ?? Array.Empty<OasScalarValue>();
     AllOf = allOf ?? Array.Empty<OasReferable<OasSchema>>();
     OneOf = oneOf ?? Array.Empty<OasReferable<OasSchema>>();
     AnyOf = anyOf ?? Array.Empty<OasReferable<OasSchema>>();
     Not = not ?? Array.Empty<OasReferable<OasSchema>>();
     Items = items;
     Properties = properties ?? ImmutableDictionary<string, OasReferable<OasSchema>>.Empty;
     AdditionalProperties = additionalProperties ?? ImmutableDictionary<string, OasReferable<OasSchema>>.Empty;
     ExternalDocumentation = externalDocumentation;
 }
Пример #10
0
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints                     = true;
     mProfile_generate_occupation           = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mProfile_generate_older_than           = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mProfile_generate_younger_than         = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mProfile_generate_ecology_value_min    = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_peace_value_min      = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_healthcare_value_min = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_prosperity_value_min = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_any_random           = new Articy.Unity.Constraints.BooleanConstraint(false);
     mProfile_generate_ecology_value_max    = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_peace_value_max      = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_healthcare_value_max = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_prosperity_value_max = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mProfile_generate_spare_death_both     = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints        = true;
     mItem_name                = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_description         = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mItem_price_value         = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, "darksouls");
     mItem_type_category       = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mItem_flavour_text_first  = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_instruction_onbuy   = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mItem_flavour_text_second = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_icon                = new Articy.Unity.Constraints.ReferenceSlotConstraint("LocationImage;Asset;Entity;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
     mItem_flavour_text_third  = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_dialogue            = new Articy.Unity.Constraints.ReferenceSlotConstraint("Dialogue;", "", "None;", "template_conscience;");
     mItem_variations          = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "template_item_variation;");
     mItem_slot_number         = new Articy.Unity.Constraints.NumberConstraint(-1D, 2D, 0, 0, 0, null);
     mItem_variable            = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mId    = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
     mImage = new Articy.Unity.Constraints.ReferenceSlotConstraint("FlowFragment;Dialogue;DialogueFragment;Condition;Instruction;Hub;Jump;Entity;Loca" +
                                                                   "tion;Link;Path;Spot;Zone;LocationText;LocationImage;Document;TextObject;Journey;" +
                                                                   "Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
     mSfx = new Articy.Unity.Constraints.ReferenceSlotConstraint("FlowFragment;Dialogue;DialogueFragment;Condition;Instruction;Hub;Jump;Entity;Loca" +
                                                                 "tion;Link;Path;Spot;Zone;LocationText;LocationImage;Document;TextObject;Journey;" +
                                                                 "Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
     mMusic = new Articy.Unity.Constraints.ReferenceSlotConstraint("FlowFragment;Dialogue;DialogueFragment;Condition;Instruction;Hub;Jump;Entity;Loca" +
                                                                   "tion;Link;Path;Spot;Zone;LocationText;LocationImage;Document;TextObject;Journey;" +
                                                                   "Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
     mPause     = new Articy.Unity.Constraints.BooleanConstraint(false);
     mDelay     = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTextColor = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
 }