Elaztek Developer Hub
Blamite Game Engine - Strings  00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
EditorTickEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../../BlamEvent.h"
4 
5 #include <stdint.h>
6 
7 #ifdef STRINGS_EXPORTS
8 #define STRINGS_API __declspec(dllexport)
9 #else
10 #define STRINGS_API __declspec(dllimport)
11 #endif
12 
19 {
20 private:
21  int tick;
22  uint64_t total_tick;
23 
24 public:
31  EditorTickEvent(int _tick, uint64_t _total_tick);
32 
38  int GetTickNumber();
39 
45  uint64_t GetTotalTickNumber();
46 };
EditorTickEvent.h
BlamEvent
Class representing a generic event.
Definition: BlamEvent.h:33
BlamEventType::EditorTick
@ EditorTick
Indicates the event is an editor tick event. See EditorTickEvent for details.
EditorTickEvent::EditorTickEvent
EditorTickEvent(int _tick, uint64_t _total_tick)
Constructs a new event.
Definition: EditorTickEvent.cpp:3
STRINGS_API
#define STRINGS_API
Definition: EditorTickEvent.h:10
EditorTickEvent::GetTotalTickNumber
uint64_t GetTotalTickNumber()
Retrieves the current total tick number.
Definition: EditorTickEvent.cpp:14
BlamEventType
BlamEventType
Enumerator listing all possible event types.
Definition: BlamEvent.h:12
EditorTickEvent
Class representing an editor tick event.
Definition: EditorTickEvent.h:18
EditorTickEvent::GetTickNumber
int GetTickNumber()
Retrieves the current tick number.
Definition: EditorTickEvent.cpp:9