अर्थ#

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

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

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

libraries/common.xsd

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

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

प्रॉपर्टी मान
प्रकार की संरचना restriction
आधार प्रकार xs:string
सीमा मान
enumeration controlpaneltype.hack_all_turrets
enumeration controlpaneltype.hack_buildmodules
enumeration controlpaneltype.hack_discount
enumeration controlpaneltype.hack_engineer
enumeration controlpaneltype.hack_production
enumeration controlpaneltype.hack_shieldgenerators
enumeration controlpaneltype.hack_storage
enumeration controlpaneltype.hack_watchdogs
enumeration controlpaneltype.hack_hiringdiscount
enumeration controlpaneltype.hack_moddingdiscount
enumeration controlpaneltype.hack_repairdiscount
enumeration controlpaneltype.hack_traderdiscount
enumeration controlpaneltype.hack_radar
enumeration controlpaneltype.access_scanner
enumeration controlpaneltype.access_jukebox
enumeration controlpaneltype.access_dockcamera
enumeration controlpaneltype.access_externalcamera
enumeration controlpaneltype.access_peoplelist

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

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

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

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

तत्व एट्रिब्यूट स्कीमा
find_object_component hascontrolpanel libraries/common.xsd
find_room hascontrolpanel libraries/common.xsd
match_content hascontrolpanel libraries/common.xsd

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