Skip to content

Add bool support to CRoseReader/CRoseWriter #197

@rminderhoud

Description

@rminderhoud

Currently the reader/writer doesn't support bool so we can't generate packets with boolean fields. Would be a little more ergonomic rather than using int8_t. This packet:

<packet ePacketType = "PAKWC_NPC_SHOW">
    <element name = "id" type = "uint16_t" />
    <element name = "show" type = "bool" />
</packet>

Generates a compiler error

 error: ‘class RoseCommon::CRoseReader’ has no member named ‘get_bool’

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions