अर्थ#
infolibrarytypelookup: X4 एट्रिब्यूट का स्कीमा प्रकार: आधार प्रकार, सीमाएँ और संभावित मान।
XSD प्रकार XML पर सीमाएँ लगाता है; यह Lua का वापसी मान या event.param के डेटा का प्रकार घोषित नहीं करता। स्कीमा के अनुसार सही मान गेम में प्रभाव होने का प्रमाण नहीं है।
स्कीमा की संरचना#
libraries/common.xsd
| प्रॉपर्टी | मान |
|---|---|
| प्रकार की संरचना | restriction |
| आधार प्रकार | xs:string |
| सीमा | मान |
|---|---|
enumeration |
shiptypes_xl |
enumeration |
shiptypes_l |
enumeration |
shiptypes_m |
enumeration |
shiptypes_s |
enumeration |
shiptypes_xs |
enumeration |
stationtypes |
enumeration |
moduletypes_production |
enumeration |
moduletypes_build |
enumeration |
moduletypes_storage |
enumeration |
moduletypes_habitation |
enumeration |
moduletypes_defence |
enumeration |
moduletypes_communication |
enumeration |
moduletypes_dock |
enumeration |
moduletypes_pier |
enumeration |
moduletypes_other |
enumeration |
moduletypes_processing |
enumeration |
moduletypes_venture |
enumeration |
moduletypes_welfare |
enumeration |
weapons_lasers |
enumeration |
weapons_missilelaunchers |
enumeration |
weapons_turrets |
enumeration |
weapons_missileturrets |
enumeration |
shieldgentypes |
enumeration |
enginetypes |
enumeration |
thrustertypes |
enumeration |
missiletypes |
enumeration |
marines |
enumeration |
unique_npcs |
enumeration |
wares |
enumeration |
productionmethods |
enumeration |
researchmethods |
enumeration |
researchables |
enumeration |
inventory_wares |
enumeration |
races |
enumeration |
factions |
enumeration |
licences |
enumeration |
entitytypes |
enumeration |
equipmentmods |
enumeration |
paintmods |
enumeration |
clothingmods |
enumeration |
software |
enumeration |
bombs |
enumeration |
lasertowers |
enumeration |
mines |
enumeration |
navbeacons |
enumeration |
resourceprobes |
enumeration |
satellites |
enumeration |
timeline |
enumeration |
audiologs |
restriction आधार प्रकार को सीमित करता है; union अपनी किसी एक शाखा को स्वीकार करता है; list खाली स्थान से अलग किए गए आइटम बताता है। एक restriction के enumeration मान वैकल्पिक मान होते हैं। pattern में XML Schema के रेगुलर एक्सप्रेशन हैं, Lua पैटर्न या JavaScript RegExp नहीं। आधार प्रकार से मिली सीमाएँ भी लागू रहती हैं।
उदाहरण और परिणाम#
संदर्भ उदाहरणों के लिए नीचे दिए गए विशेषता पृष्ठों का उपयोग करें। एक सामान्य निष्पादित उदाहरण केवल एक प्रकार के नाम से नहीं लिया जाता है।
इनमें उपयोग होता है#
| तत्व | एट्रिब्यूट | स्कीमा |
|---|---|---|
add_encyclopedia_entry |
type |
libraries/common.xsd |