Skip to content

Conversation

@mkapal
Copy link
Member

@mkapal mkapal commented Dec 30, 2025

Usage example:

import { InSim } from 'node-insim';
import { ObjectFlags, PacketType } from 'node-insim/packets';

const inSim = new InSim();

inSim.on(PacketType.ISP_AXM, (packet) => {
  packet.Info.forEach((info) => {
    if ((info.Flags & ObjectFlags.FLOATING) !== 0) {
      // This object is floating
    }
  });
});

Closes #80

@mkapal mkapal self-assigned this Dec 30, 2025
@mkapal mkapal added enhancement New feature or request scope:insim InSim labels Dec 30, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2025

Test Results

236 tests  ±0   235 ✅ ±0   0s ⏱️ ±0s
 81 suites ±0     1 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 8c25ac0. ± Comparison against base commit ba86a8d.

♻️ This comment has been updated with latest results.

@mkapal mkapal force-pushed the feature/bitwise-enums-for-flags-property-in-object-info branch from c4e5ac0 to 8c25ac0 Compare December 30, 2025 17:12
@mkapal mkapal merged commit cd1337a into master Dec 30, 2025
3 checks passed
@mkapal mkapal deleted the feature/bitwise-enums-for-flags-property-in-object-info branch December 30, 2025 17:15
@github-actions github-actions bot mentioned this pull request Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request scope:insim InSim

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add bitwise enums for Flags property values in ObjectInfo

2 participants