Skip to content

Instantly share code, notes, and snippets.

View hach-que's full-sized avatar

June Rhodes hach-que

View GitHub Profile
@hach-que
hach-que / GameManager.cpp
Last active February 13, 2019 16:50
Game Manager for UE4 - Split code out from Game Instance
// Copyright Redpoint Games 2018, MIT Licensed.
#include "GameManager.h"
#include "Engine.h"
UGameManager::UGameManager(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
// Copyright Redpoint Games 2018, All Rights Reserved.
#include "CharacterAttributeSet.h"
void UCharacterAttributeSet::PreAttributeBaseChange(const FGameplayAttribute& Attribute, float& NewValue) const
{
// Clamp health value.
if (Attribute == HealthAttribute())
{
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#include <thread>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#include <thread>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#include <thread>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#include <thread>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <windows.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <windows.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <windows.h>
#include <stdio.h>
#include "libzt.h"
#include <inttypes.h>
#if defined(_WIN32)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Ws2def.h>
#include <stdint.h>
#include <windows.h>