KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
KarmaTypes.h File Reference

This file contains the custom types used in Engine's logic. More...

#include <vector>
#include <cstdint>
#include <map>
#include <utility>
#include <algorithm>
#include <glm/glm.hpp>

Go to the source code of this file.

Classes

class  KarmaMap< KeyType, ValueType >
 Karma's std::map wrapper. More...
class  KarmaVector< BuildingBlock >
 Karma's std::vector wrapper with additional functionalities. More...
struct  FUrlConfig
 Helper for obtaining the default Url configuration. More...
struct  FURL
 URL structure. More...

Namespaces

namespace  EEndPlayReason
 Specifies why an actor is being deleted/removed from a level.
namespace  EWorldType
 Specifies the goal/source of a UWorld object.

Enumerations

enum class  EAllowShrinking { Yes , No }
enum  EEndPlayReason::Type : int {
  EEndPlayReason::Destroyed , EEndPlayReason::LevelTransition , EEndPlayReason::EndPlayInEditor , EEndPlayReason::RemovedFromWorld ,
  EEndPlayReason::Quit
}
enum  { INDEX_NONE = -1 }
 euphemism for no index situations More...
enum  EWorldType::Type {
  EWorldType::None , EWorldType::Game , EWorldType::Editor , EWorldType::PIE ,
  EWorldType::EditorPreview , EWorldType::GamePreview , EWorldType::GameRPC , EWorldType::Inactive
}
enum  ETravelType { TRAVEL_Absolute , TRAVEL_Partial , TRAVEL_Relative , TRAVEL_MAX }
 Traveling from server to server. More...
enum class  ETeleportType : uint8_t { None , TeleportPhysics , ResetPhysics }

Detailed Description

This file contains the custom types used in Engine's logic.

Author
Ravi Mohan (the_cowboy)
Version
1.0
Date
March 30, 2023

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

euphemism for no index situations

See also
KarmaVector::Find, KarmaVector::RemoveSingleSwap etc

◆ EAllowShrinking

enum class EAllowShrinking
strong
Enumerator
Yes 

Allow the array to shrink its allocation if possible

No 

Prevent the array from shrinking its allocation

◆ ETeleportType

enum class ETeleportType : uint8_t
strong

Whether to teleport physics body or not

Enumerator
None 

Do not teleport physics body. This means velocity will reflect the movement between initial and final position, and collisions along the way will occur

TeleportPhysics 

Teleport physics body so that velocity remains the same and no collision occurs

ResetPhysics 

Teleport physics body and reset physics state completely

◆ ETravelType

Traveling from server to server.

Enumerator
TRAVEL_Absolute 

Absolute URL.

TRAVEL_Partial 

Partial (carry name, reset server).

TRAVEL_Relative 

Relative URL.

TRAVEL_MAX 

No clue.