physis/layer/position_marker.rs
1// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4use binrw::{binread, binrw};
5
6#[binrw]
7#[brw(repr = i32)]
8#[derive(Debug, PartialEq)]
9pub enum PositionMarkerType {
10 DebugZonePop = 0x1,
11 DebugJump = 0x2,
12 NaviMesh = 0x3,
13 LQEvent = 0x4,
14}
15
16#[binread]
17#[derive(Debug)]
18#[br(little)]
19pub struct PositionMarkerInstanceObject {
20 pub position_marker_type: PositionMarkerType,
21 pub comment_jp_offset: u32,
22 pub comment_en_offset: u32,
23}