// ------------------------------------------------------------------------ // Copyright (c) 2021-2026, Jiaqi (0x7c13) Liu. All rights reserved. // See LICENSE file in the project root for license information. // ------------------------------------------------------------------------ namespace Pal3.Core.Command { using DataReader; /// /// Defines the interface for parsing SCE commands from a binary reader. /// public interface ISceCommandParser { /// /// Parse the next SceCommand from the given reader /// in the SCE script data block. /// /// The binary reader to read from. /// The codepage to use for decoding strings. /// The ID of the parsed command. /// The parsed command. public ICommand ParseNextCommand(IBinaryReader reader, int codepage, out ushort commandId); } }