* Added a new Command. SetRole allows Admins to assign a Server Role (Admin, Player, GM etc) to a specified character. Server.ServerOwner is the only Character that can use this command regardless of server role. Any other Character must have a Role of Admin in order to use it. * StandardCharacter now checks if the character is connected as well as being enabled during execution of commands. * Re-organized how the StandardCharacter save code was invoked during disconnection from server. * StandardCharacter.Role is now saved and loaded from file.
91 lines
No EOL
4.1 KiB
XML
91 lines
No EOL
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{27C84625-1D4A-4DBF-9770-46D535506485}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>MudEngine</RootNamespace>
|
|
<AssemblyName>MudEnginePC</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<SccProjectName>SAK</SccProjectName>
|
|
<SccLocalPath>SAK</SccLocalPath>
|
|
<SccAuxPath>SAK</SccAuxPath>
|
|
<SccProvider>SAK</SccProvider>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG;WINDOWS_PC</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Core\CommandSystem.cs" />
|
|
<Compile Include="Core\Interfaces\ICommand.cs" />
|
|
<Compile Include="Core\Interfaces\IGameComponent.cs" />
|
|
<Compile Include="Core\Interfaces\INetworked.cs" />
|
|
<Compile Include="Core\Interfaces\ISavable.cs" />
|
|
<Compile Include="Core\Interfaces\IUpdatable.cs" />
|
|
<Compile Include="Core\Logger.cs" />
|
|
<Compile Include="Core\ObjectCollection.cs" />
|
|
<Compile Include="DAL\DataPaths.cs" />
|
|
<Compile Include="DAL\XMLData.cs" />
|
|
<Compile Include="GameScripts\Commands\CommandLogin.cs" />
|
|
<Compile Include="GameScripts\Commands\CommandSay.cs" />
|
|
<Compile Include="GameScripts\Commands\CommandStop.cs" />
|
|
<Compile Include="GameScripts\Commands\CommandCreatePlayer.cs" />
|
|
<Compile Include="GameScripts\Commands\CommandSetRole.cs" />
|
|
<Compile Include="Game\Characters\CharacterRoles.cs" />
|
|
<Compile Include="Game\Characters\CharacterStats.cs" />
|
|
<Compile Include="Game\Characters\MyCharacter.cs" />
|
|
<Compile Include="Game\Characters\StandardCharacter.cs" />
|
|
<Compile Include="GameScripts\BaseScript.cs" />
|
|
<Compile Include="Game\StandardGame.cs" />
|
|
<Compile Include="Game\Environment\TravelDirections.cs" />
|
|
<Compile Include="Networking\ConnectionManager.cs" />
|
|
<Compile Include="Networking\Server.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Scripting\CompileEngine.cs" />
|
|
<Compile Include="Scripting\CSharp.cs" />
|
|
<Compile Include="Scripting\ICompiler.cs" />
|
|
<Compile Include="Scripting\ScriptEnumerator.cs" />
|
|
<Compile Include="Scripting\ScriptFactory.cs" />
|
|
<Compile Include="Scripting\ScriptObject.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Game\Objects\" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project> |