Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# ARK-Server-API
ArkApi is a plugin which allows you to create your own server-side plugins for ARK using C++ language.<br>
# PLEASE READ:

## Download
http://arkserverapi.com/resources/ark-server-api.4/ <br><br>

[Plugins](http://arkserverapi.com/resources/categories/ark-server-plugins.3/)<br>

## Compilation
Requirements:
* Visual Studio 2017
The GITHUB REPO HAS BEEN MOVED TO https://github.com/ServersHub
10 changes: 10 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
chcp 65001
echo Compiling ARK-Server-API...
echo.

"D:\Program Files\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" version.sln /p:Configuration=Ark /p:Platform=x64 /p:PlatformToolset=v142

echo.
echo Compilation completed!
echo Output file: out_lib\ArkApi.lib
103 changes: 4 additions & 99 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,102 +1,7 @@
{
"settings":{
"AutomaticPluginReloading":false,
{
"settings":{
"AutomaticPluginReloading":true,
"AutomaticPluginReloadSeconds":5,
"SaveWorldBeforePluginReload":true
},
"structures":[
"UWorld",
"AController",
"AShooterPlayerController",
"APlayerController",
"UCheatManager",
"UShooterCheatManager",
"AShooterGameMode",
"AGameMode",
"UPlayer",
"APrimalTargetableActor",
"APrimalStructure",
"APrimalStructureDoor",
"FTribeData",
"FTribeWar",
"FTribeRankGroup",
"ACharacter",
"AShooterCharacter",
"APrimalCharacter",
"AActor",
"APlayerState",
"AShooterPlayerState",
"UPrimalPlayerData",
"FPrimalPlayerDataStruct",
"FPrimalPersistentCharacterStatsStruct",
"UPrimalInventoryComponent",
"UPrimalItem",
"FItemNetInfo",
"APrimalDinoCharacter",
"USceneComponent",
"UPrimalCharacterStatusComponent",
"FWeakObjectPtr",
"FDamageEvent",
"FHitResult",
"AGameState",
"AShooterGameState",
"AShooterWeapon",
"UClass",
"UStruct",
"UProperty",
"UObjectBaseUtility",
"UNumericProperty",
"URCONServer",
"RCONClientConnection",
"RCONPacket",
"FUniqueNetIdSteam",
"UGameplayStatics",
"UObject",
"UObjectBase",
"FString",
"AShooterGameSession",
"UBlueprintCore",
"FChatMessage",
"FSocketBSD",
"UField",
"FText",
"FName",
"FAssetRegistry",
"FModuleManager",
"FAssetRegistryModule",
"FAssetData",
"UBlueprint",
"UTexture2D",
"FMemory",
"ADroppedItem",
"UBoolProperty",
"APrimalDinoAIController",
"APrimalStructureItemContainer",
"UShooterGameInstance",
"AMatineeActor",
"UEngine",
"UPrimalGlobals",
"FSocket",
"UPrimalGameData",
"UPrimalEngramEntry",
"UKismetSystemLibrary",
"USphereComponent",
"UPrimitiveComponent",
"UActorComponent",
"FHttpModule",
"FHttpRequestWinInet",
"FHttpResponseWinInet",
"FOnlineSubsystemSteam",
"APrimalStructureTurret",
"FOverlapResult",
"UVictoryCore"
],
"functions":[
"StaticLoadObject",
"RaycastSingle",
"StaticConstructObject"
],
"globals":[
"GEngine"
]
}
}
110 changes: 110 additions & 0 deletions include/Poco/Poco/AbstractDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
//
// AbstractDelegate.h
//
// Library: Foundation
// Package: Events
// Module: AbstractDelegate
//
// Implementation of the AbstractDelegate template.
//
// Copyright (c) 2006-2011, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//


#ifndef Foundation_AbstractDelegate_INCLUDED
#define Foundation_AbstractDelegate_INCLUDED


#include "Poco/Foundation.h"


namespace Poco {


template <class TArgs>
class AbstractDelegate
/// Base class for Delegate and Expire.
{
public:
AbstractDelegate()
{
}

AbstractDelegate(const AbstractDelegate& /*del*/)
{
}

virtual ~AbstractDelegate()
{
}

virtual bool notify(const void* sender, TArgs& arguments) = 0;
/// Invokes the delegate's callback function.
/// Returns true if successful, or false if the delegate
/// has been disabled or has expired.

virtual bool equals(const AbstractDelegate& other) const = 0;
/// Compares the AbstractDelegate with the other one for equality.

virtual AbstractDelegate* clone() const = 0;
/// Returns a deep copy of the AbstractDelegate.

virtual void disable() = 0;
/// Disables the delegate, which is done prior to removal.

virtual const AbstractDelegate* unwrap() const
/// Returns the unwrapped delegate. Must be overridden by decorators
/// like Expire.
{
return this;
}
};


template <>
class AbstractDelegate<void>
/// Base class for Delegate and Expire.
{
public:
AbstractDelegate()
{
}

AbstractDelegate(const AbstractDelegate&)
{
}

virtual ~AbstractDelegate()
{
}

virtual bool notify(const void* sender) = 0;
/// Invokes the delegate's callback function.
/// Returns true if successful, or false if the delegate
/// has been disabled or has expired.

virtual bool equals(const AbstractDelegate& other) const = 0;
/// Compares the AbstractDelegate with the other one for equality.

virtual AbstractDelegate* clone() const = 0;
/// Returns a deep copy of the AbstractDelegate.

virtual void disable() = 0;
/// Disables the delegate, which is done prior to removal.

virtual const AbstractDelegate* unwrap() const
/// Returns the unwrapped delegate. Must be overridden by decorators
/// like Expire.
{
return this;
}
};


} // namespace Poco


#endif // Foundation_AbstractDelegate_INCLUDED
Loading