- 移除了资产同步到私有 B 仓库的工作流 - 在玩家结构中添加了 IsFighting 字段 - 新增了宠物信息相关功能和数据结构 - 优化了地图进入和怪物刷新逻辑 - 调整了玩家登录和地图数据发送流程 - 重构了部分代码以提高可维护性和性能
116 lines
3.4 KiB
Go
116 lines
3.4 KiB
Go
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="nieo.seer.org.talk-count"
|
|
xmlns="nieo.seer.org.talk-count"
|
|
elementFormDefault="qualified">
|
|
<xs:element id="entry" name="entry">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
具体奖励领取的设置信息
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:attribute id="id" name="id" use="required" type="xs:integer">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此奖励项的ID
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute id="item_id" name="item_id" use="required" type="xs:integer">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此奖励项所对应的物品ID
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute id="item_min_count" name="item_min_count" use="required" type="xs:nonNegativeInteger">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此奖励物品的最少数量
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute id="item_max_count" name="item_max_count" use="required" type="xs:nonNegativeInteger">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此奖励物品的最大数量
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute id="desc" name="desc" use="required" type="xs:string">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此ID的描述信息
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute id="count" name="count" use="required" type="xs:nonNegativeInteger">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此奖励每日可领取的次数
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute id="policy" name="policy" type="policy-type" default="day">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
此奖励次数的刷新策略
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:simpleType name="policy-type">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
刷新策略
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
<xs:restriction>
|
|
<xs:enumeration value="day">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
每日刷新奖励领取次数
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:enumeration>
|
|
<xs:enumeration value="week">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
每周刷新奖励领取次数
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:enumeration>
|
|
<xs:enumeration value="month">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
每月刷新奖励领取次数
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:enumeration>
|
|
<xs:enumeration value="once">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
不会刷新奖励领取次数
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
</xs:enumeration>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:element id="talk_count" name="talk_count">
|
|
<xs:annotation>
|
|
<xs:documentation><![CDATA[
|
|
全部奖励领取次数的配置
|
|
]]></xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element ref="entry" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|