Skip to content

Commit 16ee90a

Browse files
committed
Added class summaries
1 parent 7079765 commit 16ee90a

17 files changed

+118
-3
lines changed

Docs.shfbproj

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!-- The configuration and platform will be used to determine which assemblies to include from solution and
5+
project documentation sources -->
6+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<ProjectGuid>{6bae2f52-652d-4268-923d-0e1198bdc825}</ProjectGuid>
10+
<SHFBSchemaVersion>2017.9.26.0</SHFBSchemaVersion>
11+
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual Studio adds them anyway -->
12+
<AssemblyName>Documentation</AssemblyName>
13+
<RootNamespace>Documentation</RootNamespace>
14+
<Name>Documentation</Name>
15+
<!-- SHFB properties -->
16+
<FrameworkVersion>.NET Framework 3.5</FrameworkVersion>
17+
<OutputPath>Docs\</OutputPath>
18+
<HtmlHelpName>Documentation</HtmlHelpName>
19+
<Language>en-US</Language>
20+
<HelpFileFormat>Markdown</HelpFileFormat>
21+
<SyntaxFilters>C#</SyntaxFilters>
22+
<PresentationStyle>Markdown</PresentationStyle>
23+
<CleanIntermediates>True</CleanIntermediates>
24+
<KeepLogFile>True</KeepLogFile>
25+
<DisableCodeBlockComponent>False</DisableCodeBlockComponent>
26+
<IndentHtml>False</IndentHtml>
27+
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
28+
<HelpTitle>MLAPI API Reference</HelpTitle>
29+
<HelpFileVersion>1.0.0.0</HelpFileVersion>
30+
<RootNamespaceContainer>False</RootNamespaceContainer>
31+
<NamespaceGrouping>False</NamespaceGrouping>
32+
<Preliminary>False</Preliminary>
33+
<SdkLinkTarget>Blank</SdkLinkTarget>
34+
<NamingMethod>MemberName</NamingMethod>
35+
<ContentPlacement>AboveNamespaces</ContentPlacement>
36+
<SourceCodeBasePath>MLAPI\</SourceCodeBasePath>
37+
<WarnOnMissingSourceContext>False</WarnOnMissingSourceContext>
38+
<DocumentationSources>
39+
<DocumentationSource sourceFile="MLAPI\bin\Debug\MLAPI.dll" />
40+
<DocumentationSource sourceFile="MLAPI\bin\Debug\MLAPI.xml" /></DocumentationSources>
41+
<MissingTags>Summary, Parameter, Returns, AutoDocumentCtors, TypeParameter, AutoDocumentDispose</MissingTags>
42+
</PropertyGroup>
43+
<!-- There are no properties for these groups. AnyCPU needs to appear in order for Visual Studio to perform
44+
the build. The others are optional common platform types that may appear. -->
45+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
46+
</PropertyGroup>
47+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
48+
</PropertyGroup>
49+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
50+
</PropertyGroup>
51+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
52+
</PropertyGroup>
53+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
54+
</PropertyGroup>
55+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
56+
</PropertyGroup>
57+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
58+
</PropertyGroup>
59+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
60+
</PropertyGroup>
61+
<!-- Import the SHFB build targets -->
62+
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
63+
<!-- The pre-build and post-build event properties must appear *after* the targets file import in order to be
64+
evaluated correctly. -->
65+
<PropertyGroup>
66+
<PreBuildEvent>
67+
</PreBuildEvent>
68+
<PostBuildEvent>
69+
</PostBuildEvent>
70+
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
71+
</PropertyGroup>
72+
</Project>

MLAPI/Data/NetworkingConfiguration.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
namespace MLAPI
88
{
9+
/// <summary>
10+
/// The configuration object used to start server, client and hosts
11+
/// </summary>
912
public class NetworkingConfiguration
1013
{
1114
/// <summary>

MLAPI/MLAPI.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<ErrorReport>prompt</ErrorReport>
2525
<WarningLevel>4</WarningLevel>
2626
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
27+
<DocumentationFile>bin\Debug\MLAPI.xml</DocumentationFile>
2728
</PropertyGroup>
2829
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2930
<DebugType>pdbonly</DebugType>
@@ -43,6 +44,8 @@
4344
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
4445
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
4546
<RunCodeAnalysis>false</RunCodeAnalysis>
47+
<DocumentationFile>
48+
</DocumentationFile>
4649
</PropertyGroup>
4750
<PropertyGroup>
4851
<SignAssembly>false</SignAssembly>

MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
namespace MLAPI
1212
{
13+
/// <summary>
14+
/// The base class to override to write networked code. Inherits MonoBehaviour
15+
/// </summary>
1316
public abstract class NetworkedBehaviour : MonoBehaviour
1417
{
1518
/// <summary>

MLAPI/MonoBehaviours/Core/NetworkedObject.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
namespace MLAPI
77
{
8+
/// <summary>
9+
/// A component used to identify that a GameObject is networked
10+
/// </summary>
811
[AddComponentMenu("MLAPI/NetworkedObject", -99)]
912
public class NetworkedObject : MonoBehaviour
1013
{

MLAPI/MonoBehaviours/Core/NetworkingManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
namespace MLAPI
1313
{
14+
/// <summary>
15+
/// The main component of the library
16+
/// </summary>
1417
[AddComponentMenu("MLAPI/NetworkingManager", -100)]
1518
public class NetworkingManager : MonoBehaviour
1619
{

MLAPI/MonoBehaviours/Core/TrackedObject.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ namespace MLAPI.MonoBehaviours.Core
77
{
88
//Based on: https://twotenpvp.github.io/lag-compensation-in-unity.html
99
//Modified to be used with latency rather than fixed frames and subframes. Thus it will be less accrurate but more modular.
10+
11+
/// <summary>
12+
/// A component used for lag compensation. Each object with this component will get tracked
13+
/// </summary>
1014
[AddComponentMenu("MLAPI/TrackedObject", -98)]
1115
public class TrackedObject : MonoBehaviour
1216
{

MLAPI/MonoBehaviours/Prototyping/NetworkedAnimator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
namespace MLAPI.MonoBehaviours.Prototyping
66
{
7+
/// <summary>
8+
/// A prototype component for syncing animations
9+
/// </summary>
710
[AddComponentMenu("MLAPI/NetworkedAnimator")]
811
public class NetworkedAnimator : NetworkedBehaviour
912
{

MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
namespace MLAPI.MonoBehaviours.Prototyping
77
{
8+
/// <summary>
9+
/// A prototype component for syncing navmeshagents
10+
/// </summary>
811
[AddComponentMenu("MLAPI/NetworkedNavMeshAgent")]
912
public class NetworkedNavMeshAgent : NetworkedBehaviour
1013
{

MLAPI/MonoBehaviours/Prototyping/NetworkedTransform.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace MLAPI.MonoBehaviours.Prototyping
55
{
6+
/// <summary>
7+
/// A prototype component for syncing transforms
8+
/// </summary>
69
[AddComponentMenu("MLAPI/NetworkedTransform")]
710
public class NetworkedTransform : NetworkedBehaviour
811
{

0 commit comments

Comments
 (0)