अर्थ#

formationshapelookup: X4 एट्रिब्यूट का स्कीमा प्रकार: आधार प्रकार, सीमाएँ और संभावित मान।

XSD प्रकार XML पर सीमाएँ लगाता है; यह Lua का वापसी मान या event.param के डेटा का प्रकार घोषित नहीं करता। स्कीमा के अनुसार सही मान गेम में प्रभाव होने का प्रमाण नहीं है।

स्कीमा की संरचना#

libraries/common.xsd

प्रॉपर्टी मान
प्रकार की संरचना union
यूनियन के सदस्य expression

अतिरिक्त इनलाइन यूनियन शाखाः

प्रॉपर्टी मान
प्रकार की संरचना restriction
आधार प्रकार xs:string
सीमा मान
enumeration formationshape.dummy
enumeration formationshape.circle
enumeration formationshape.halfcircle
enumeration formationshape.invpointguard
enumeration formationshape.pointguard
enumeration formationshape.randomshape
enumeration formationshape.rotatingcircle
enumeration formationshape.singlefile
enumeration formationshape.vshape
enumeration formationshape.invvshape
enumeration formationshape.cross
enumeration formationshape.crossback
enumeration formationshape.crossforward
enumeration formationshape.xshape
enumeration formationshape.xshapeforward
enumeration formationshape.xshapeback
enumeration formationshape.triangle
enumeration formationshape.lineabreast
enumeration formationshape.lineastern
enumeration formationshape.wshape
enumeration formationshape.eagle
enumeration formationshape.twin
enumeration formationshape.vulcan
enumeration formationshape.dartvertical
enumeration formationshape.darthorizontal
enumeration formationshape.echelon

restriction आधार प्रकार को सीमित करता है; union अपनी किसी एक शाखा को स्वीकार करता है; list खाली स्थान से अलग किए गए आइटम बताता है। एक restriction के enumeration मान वैकल्पिक मान होते हैं। pattern में XML Schema के रेगुलर एक्सप्रेशन हैं, Lua पैटर्न या JavaScript RegExp नहीं। आधार प्रकार से मिली सीमाएँ भी लागू रहती हैं।

उदाहरण और परिणाम#

संदर्भ उदाहरणों के लिए नीचे दिए गए विशेषता पृष्ठों का उपयोग करें। एक सामान्य निष्पादित उदाहरण केवल एक प्रकार के नाम से नहीं लिया जाता है।

इनमें उपयोग होता है#

तत्व एट्रिब्यूट स्कीमा
create_formation formation libraries/common.xsd

सभी स्कीमा प्रकार · Lua / MD मानों के प्रकार