LeviLamina
Loading...
Searching...
No Matches
GameTestSequence.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace gametest { struct GameTestError; }
8// clang-format on
9
10namespace gametest {
11
13public:
14 // member variables
15 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 GameTestSequence& operator=(GameTestSequence const&);
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI ::std::optional<::gametest::GameTestError> _tick(int currentTick);
31
32 MCNAPI ::gametest::GameTestSequence& thenExecute(::std::function<::std::optional<::gametest::GameTestError>()> fn);
33
34 MCNAPI ::gametest::GameTestSequence&
35 thenExecuteAfter(int tickDelay, ::std::function<::std::optional<::gametest::GameTestError>()> fn);
36
37 MCNAPI ::gametest::GameTestSequence&
38 thenExecuteFor(int tickCount, ::std::function<::std::optional<::gametest::GameTestError>()> fn);
39
41
42 MCNAPI void thenSucceed();
43
44 MCNAPI ::gametest::GameTestSequence&
45 thenWaitAfter(int tickDelay, ::std::function<::std::optional<::gametest::GameTestError>()> fn);
46 // NOLINTEND
47};
48
49} // namespace gametest
Definition GameTestSequence.h:12
MCAPI::gametest::GameTestSequence & thenExecuteAfter(int tickDelay, ::std::function<::std::optional<::gametest::GameTestError >()> fn)
MCAPI::gametest::GameTestSequence & thenExecute(::std::function<::std::optional<::gametest::GameTestError >()> fn)
MCAPI ::std::optional<::gametest::GameTestError > _tick(int currentTick)
MCAPI::gametest::GameTestSequence & thenWaitAfter(int tickDelay, ::std::function<::std::optional<::gametest::GameTestError >()> fn)
MCAPI::gametest::GameTestSequence & thenExecuteFor(int tickCount, ::std::function<::std::optional<::gametest::GameTestError >()> fn)
MCAPI void thenFail(::gametest::GameTestError error)
Definition GameTestError.h:16
Definition Alias.h:14