Source

Cubeia Styx / test / src / main / resources / protocol.xml

Full commit
<protocol version="$Revision: 1 $">

    <!-- **** Enumerations **** -->

    <enum name="symbol">
        <value>A</value>
        <value>B</value>
        <value>C</value>
    </enum>


    <!-- **** Structs **** -->

    <struct name="first" id="1">
        <var name="text" type="string" />
        <var name="number" type="uint32" />
    </struct>

    <struct name="second" id="2">
        <var name="symbol" type="symbol" />
        <var name="prize" type="uint32" />
    </struct>

    <struct name="third" id="3">
        <var name="bet" type="uint8" />
        <var name="lines" type="uint8" />
        <list name="symbols" type="symbol" />
    </struct>

    <struct name="fourth" id="4" />

</protocol>