Jessica James
9 years ago
3 changed files with 0 additions and 166 deletions
@ -1,85 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
||||
<ItemGroup Label="ProjectConfigurations"> |
|
||||
<ProjectConfiguration Include="Debug|Win32"> |
|
||||
<Configuration>Debug</Configuration> |
|
||||
<Platform>Win32</Platform> |
|
||||
</ProjectConfiguration> |
|
||||
<ProjectConfiguration Include="Release|Win32"> |
|
||||
<Configuration>Release</Configuration> |
|
||||
<Platform>Win32</Platform> |
|
||||
</ProjectConfiguration> |
|
||||
</ItemGroup> |
|
||||
<PropertyGroup Label="Globals"> |
|
||||
<ProjectGuid>{812E9781-A9CB-43C6-8C40-87908D50B363}</ProjectGuid> |
|
||||
<RootNamespace>PluginExample</RootNamespace> |
|
||||
</PropertyGroup> |
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
|
||||
<ConfigurationType>Application</ConfigurationType> |
|
||||
<UseDebugLibraries>true</UseDebugLibraries> |
|
||||
<PlatformToolset>v140</PlatformToolset> |
|
||||
<CharacterSet>MultiByte</CharacterSet> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
|
||||
<UseDebugLibraries>false</UseDebugLibraries> |
|
||||
<PlatformToolset>v140</PlatformToolset> |
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
|
||||
<CharacterSet>Unicode</CharacterSet> |
|
||||
</PropertyGroup> |
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|
||||
<ImportGroup Label="ExtensionSettings"> |
|
||||
</ImportGroup> |
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
||||
</ImportGroup> |
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
||||
</ImportGroup> |
|
||||
<PropertyGroup Label="UserMacros" /> |
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
||||
<OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir> |
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
|
||||
</PropertyGroup> |
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
|
||||
<ClCompile> |
|
||||
<WarningLevel>Level3</WarningLevel> |
|
||||
<Optimization>Disabled</Optimization> |
|
||||
<SDLCheck>true</SDLCheck> |
|
||||
</ClCompile> |
|
||||
<Link> |
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|
||||
</Link> |
|
||||
</ItemDefinitionGroup> |
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
||||
<ClCompile> |
|
||||
<WarningLevel>Level3</WarningLevel> |
|
||||
<Optimization>MaxSpeed</Optimization> |
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
|
||||
<SDLCheck>true</SDLCheck> |
|
||||
<AdditionalIncludeDirectories>../Bot;../Jupiter;../RenX.Core</AdditionalIncludeDirectories> |
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
||||
</ClCompile> |
|
||||
<Link> |
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
|
||||
<OptimizeReferences>true</OptimizeReferences> |
|
||||
</Link> |
|
||||
</ItemDefinitionGroup> |
|
||||
<ItemGroup> |
|
||||
<ClInclude Include="RenX_DNS.h" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<ClCompile Include="RenX_DNS.cpp" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Library Include="..\Jupiter\Release\Jupiter.lib" /> |
|
||||
<Library Include="..\Release\Bot.lib" /> |
|
||||
<Library Include="..\Release\Plugins\RenX.Core.lib" /> |
|
||||
</ItemGroup> |
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|
||||
<ImportGroup Label="ExtensionTargets"> |
|
||||
</ImportGroup> |
|
||||
</Project> |
|
@ -1,38 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
||||
<ItemGroup> |
|
||||
<Filter Include="Source Files"> |
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> |
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> |
|
||||
</Filter> |
|
||||
<Filter Include="Header Files"> |
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> |
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> |
|
||||
</Filter> |
|
||||
<Filter Include="Resource Files"> |
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> |
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> |
|
||||
</Filter> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Library Include="..\Release\Plugins\RenX.Core.lib"> |
|
||||
<Filter>Resource Files</Filter> |
|
||||
</Library> |
|
||||
<Library Include="..\Release\Bot.lib"> |
|
||||
<Filter>Resource Files</Filter> |
|
||||
</Library> |
|
||||
<Library Include="..\Jupiter\Release\Jupiter.lib"> |
|
||||
<Filter>Resource Files</Filter> |
|
||||
</Library> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<ClInclude Include="RenX_DNS.h"> |
|
||||
<Filter>Header Files</Filter> |
|
||||
</ClInclude> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<ClCompile Include="RenX_DNS.cpp"> |
|
||||
<Filter>Source Files</Filter> |
|
||||
</ClCompile> |
|
||||
</ItemGroup> |
|
||||
</Project> |
|
@ -1,43 +0,0 @@ |
|||||
/**
|
|
||||
* Copyright (C) 2014-2015 Jessica James. |
|
||||
* |
|
||||
* Permission to use, copy, modify, and/or distribute this software for any |
|
||||
* purpose with or without fee is hereby granted, provided that the above |
|
||||
* copyright notice and this permission notice appear in all copies. |
|
||||
* |
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
|
||||
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
||||
* |
|
||||
* Written by Jessica James <jessica.aj@outlook.com> |
|
||||
*/ |
|
||||
|
|
||||
#if !defined _RENX_DNS_H_HEADER |
|
||||
#define _RENX_DNS_H_HEADER |
|
||||
|
|
||||
#include "Jupiter/Plugin.h" |
|
||||
#include "Jupiter/Reference_String.h" |
|
||||
#include "RenX_Plugin.h" |
|
||||
|
|
||||
class RenX_DNSPlugin : public RenX::Plugin |
|
||||
{ |
|
||||
public: // RenX::Plugin
|
|
||||
void RenX_OnPlayerCreate(RenX::Server *server, const RenX::PlayerInfo *player) override; |
|
||||
void RenX_OnJoin(RenX::Server *server, const RenX::PlayerInfo *player) override; |
|
||||
|
|
||||
public: // Jupiter::Plugin
|
|
||||
const Jupiter::ReadableString &getName() override { return name; } |
|
||||
int OnRehash() override; |
|
||||
RenX_DNSPlugin(); |
|
||||
|
|
||||
private: |
|
||||
STRING_LITERAL_AS_NAMED_REFERENCE(name, "RenX.DNS"); |
|
||||
bool resolveAdmin; |
|
||||
bool resolvePublic; |
|
||||
}; |
|
||||
|
|
||||
#endif // _RENX_DNS_H_HEADER
|
|
Loading…
Reference in new issue