LuaSTG-x Core API
plus::ReplayFrameReader Class Reference

将二进制数值转换为按键状态 More...

Public Member Functions

function Close ()
 
function init (local path, local offset, local count)
 
function Next (local state)
 定位到录像数据开始位置 More...
 
function Reset ()
 

Detailed Description

将二进制数值转换为按键状态

将按键状态转换为二进制数值

Returns
number 返回二进制按键数值

Member Function Documentation

◆ Close()

function Close ( )

关闭文件流

◆ init()

function init ( local  path,
local  offset,
local  count 
)

构造ReplayFrameReader

Parameters
pathstring 文件路径
offsetnumber 录像数据偏移
countnumber 录像帧数量

◆ Next()

function Next ( local  state)

定位到录像数据开始位置

下一帧

Returns
boolean 若达到结尾则返回false,否则返回true

◆ Reset()

function Reset ( )

重置


The documentation for this class was generated from the following file: