TS3PR/Sims3GameplaySystems/Sims3.Gameplay.Socializing/ActionData

From SimsWiki
< TS3PR‎ | Sims3GameplaySystems‎ | Sims3.Gameplay.Socializing
Revision as of 03:15, 13 November 2023 by Feet269 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

public ActionData(string actionKey, CommodityTypes intendedCom, ProductVersion ver, XmlElementLookup table, bool isEp5Installed)

Used to parse an <Action> row in an xml file, which defines a social interaction. See the SocialData _XMLs in Sims 3's GameplayData.package for examples. It can also be used to load custom interactions.

Parsed XML tags:

  • <ParMen val=parentTopicTestFunction>
  • <ProcTest key=testName> The procedural test that is called before displaying the interaction in the pie menu. To use an existing EA method, look for the method in "Sims3.Gameplay.Socializing.SocialTest." If you want to use a method of your own, specify your class name with full namespace, the assembly of your assembly and the method, as shown here.
  • <Graph jig=socialJigOnePerson>
  • <RHS> SocialData can contain multiple RHS entries. Defines a SocialRuleRHS.
  • <LHS> SocialData can contain multiple LHS entries. Defines a SocialRuleLHS.
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox