Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
ILifeCycle.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5
6/**
7 * Interface for controlling an object's start/stop life cycle.
8 */
10{
11public:
12
13 /**
14 * Checks whether the object has been started.
15 *
16 * @return true if started, false otherwise.
17 * @see Start, Stop
18 */
19 virtual bool IsStarted() const = 0;
20
21 /**
22 * Starts the object.
23 *
24 * @return true if it was started, false otherwise.
25 * @see IsStarted, Stop
26 */
27 virtual bool Start() = 0;
28
29 /**
30 * Stops the object.
31 *
32 * @return true if it was stopped, false otherwise.
33 * @see IsStarted, Start
34 */
35 virtual bool Stop() = 0;
36};
virtual bool IsStarted() const =0
virtual bool Start()=0
virtual bool Stop()=0