UIComponentGameInfo.xsd 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. xmlns="uri:ea.com:eala:asset"
  5. xmlns:at="uri:ea.com:eala:asset:type"
  6. xmlns:xas="uri:ea.com:eala:asset:schema"
  7. targetNamespace="uri:ea.com:eala:asset"
  8. elementFormDefault="qualified"
  9. xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
  10. <xs:include schemaLocation="../Includes/UIBaseComponent.xsd"/>
  11. <xs:simpleType name="GameModeEnum"
  12. xas:useEnumPrefix="false"
  13. xas:enumItemPrefix="GAME_MODE_"
  14. xas:targetNamespace="Sage::UI::Joypad">
  15. <xs:restriction base="xs:string">
  16. <!-- These values need to correspond to the game modes used by the flash files -->
  17. <xs:enumeration value="NONE" xas:forceValue="0" />
  18. <xs:enumeration value="CAMPAIGN" xas:forceValue="1"/>
  19. <xs:enumeration value="SKIRMISH" xas:forceValue="2"/>
  20. <xs:enumeration value="TUTORIAL" xas:forceValue="3"/>
  21. <xs:enumeration value="MULTIPLAYER" xas:forceValue="4"/>
  22. <xs:enumeration value="SHELL" xas:forceValue="5"/>
  23. </xs:restriction>
  24. </xs:simpleType>
  25. <xs:complexType name="UIComponentGameInfo">
  26. <xs:complexContent>
  27. <xs:extension base="UIBaseComponent">
  28. <xs:sequence>
  29. <xs:element name="FactionValue" type="AssetId" minOccurs="0" maxOccurs="unbounded"/>
  30. </xs:sequence>
  31. <xs:attribute name="GameScoreDisplayToken" type="xs:string" />
  32. <xs:attribute name="ScorePlayerToken" type="xs:string" />
  33. <xs:attribute name="FactionLabelToken" type="xs:string" />
  34. <xs:attribute name="GameScoreXLocWS" type="SageInt" />
  35. <xs:attribute name="GameScoreXLoc" type="SageInt" />
  36. <xs:attribute name="GameScoreYLocWS" type="SageInt" />
  37. <xs:attribute name="GameScoreYLoc" type="SageInt" />
  38. <xs:attribute name="Player1ScoreXLocWS" type="SageInt" />
  39. <xs:attribute name="Player1ScoreXLoc" type="SageInt" />
  40. <xs:attribute name="Player1ScoreYLocWS" type="SageInt" />
  41. <xs:attribute name="Player1ScoreYLoc" type="SageInt" />
  42. <xs:attribute name="Player2ScoreXLocWS" type="SageInt" />
  43. <xs:attribute name="Player2ScoreXLoc" type="SageInt" />
  44. <xs:attribute name="Player2ScoreYLocWS" type="SageInt" />
  45. <xs:attribute name="Player2ScoreYLoc" type="SageInt" />
  46. <xs:attribute name="Player3ScoreXLocWS" type="SageInt" />
  47. <xs:attribute name="Player3ScoreXLoc" type="SageInt" />
  48. <xs:attribute name="Player3ScoreYLocWS" type="SageInt" />
  49. <xs:attribute name="Player3ScoreYLoc" type="SageInt" />
  50. <xs:attribute name="Player4ScoreXLocWS" type="SageInt" />
  51. <xs:attribute name="Player4ScoreXLoc" type="SageInt" />
  52. <xs:attribute name="Player4ScoreYLocWS" type="SageInt" />
  53. <xs:attribute name="Player4ScoreYLoc" type="SageInt" />
  54. </xs:extension>
  55. </xs:complexContent>
  56. </xs:complexType>
  57. </xs:schema>