Skip to content

Plugin doesn't handle bitmask enum properly #7

@Nukoooo

Description

@Nukoooo

I have the following types

enum __bitmask RnQueryObjectFlags : __int16
{
  RNQUERY_OBJECTS_STATIC = 0x1,
  RNQUERY_OBJECTS_KEYFRAMED = 0x2,
  RNQUERY_OBJECTS_DYNAMIC = 0x4,
  RNQUERY_OBJECTS_LOCATABLE = 0x8,
};

struct CTraceFilter
{
  void *vtable;
  uint64_t m_nInteractsWith;
  uint64_t m_nInteractsExclude;
  uint64_t m_nInteractsAs;
  uint32_t m_nEntityIdsToIgnore[2];
  uint32_t m_nOwnerIdsToIgnore[2];
  uint16_t m_nHierarchyIds[2];
  RnQueryObjectFlags m_nObjectSetMask;
  uint8_t m_nCollisionGroup;
  uint8_t flags;
  bool m_bIterateEntities;
};

Here is what the decompiled code looks like, the version I'm using is the latest one from release page
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions