This commit is contained in:
ALIENJACK\alien 2024-09-14 17:40:01 +08:00
parent 0babeed270
commit 6e34b02c29

View File

@ -94,17 +94,9 @@ namespace AxibugEmuOnline.Client
private ControllerState m_sampledState; private ControllerState m_sampledState;
public ControllerState GetControllerState() public ControllerState GetControllerState()
{
if (!InGameUI.Instance.IsOnline)
{ {
return m_sampledState; return m_sampledState;
} }
else
{
//todo : 从服务器获取帧输入数据
return default;
}
}
public void SampleInput() public void SampleInput()
{ {