Skip to content

Commit d2b5952

Browse files
committed
Initial Commit
0 parents  commit d2b5952

File tree

177 files changed

+372
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+372
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

Assembly-CSharp.csproj

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>10.0.20506</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<RootNamespace></RootNamespace>
9+
<ProjectGuid>{4CC341CD-746C-ED06-71DC-8B847B451B77}</ProjectGuid>
10+
<OutputType>Library</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<AssemblyName>Assembly-CSharp</AssemblyName>
13+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
<BaseDirectory>Assets</BaseDirectory>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>Temp\bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_64;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_STANDALONE_OSX;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_VIDEO;ENABLE_VR;ENABLE_CLUSTERINPUT;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_OSX;UNITY_TEAM_LICENSE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
<NoWarn>0169</NoWarn>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>Temp\bin\Release\</OutputPath>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
<NoWarn>0169</NoWarn>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="System" />
37+
<Reference Include="System.XML" />
38+
<Reference Include="System.Core" />
39+
<Reference Include="System.Runtime.Serialization" />
40+
<Reference Include="System.Xml.Linq" />
41+
<Reference Include="UnityEngine">
42+
<HintPath>/Applications/Unity/Unity.app/Contents/Managed/UnityEngine.dll</HintPath>
43+
</Reference>
44+
<Reference Include="UnityEditor">
45+
<HintPath>/Applications/Unity/Unity.app/Contents/Managed/UnityEditor.dll</HintPath>
46+
</Reference>
47+
</ItemGroup>
48+
<ItemGroup>
49+
<Compile Include="Assets\NewBehaviourScript.cs" />
50+
<Compile Include="Assets\TinCanTest.cs" />
51+
<Reference Include="UnityEngine.Analytics">
52+
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll</HintPath>
53+
</Reference>
54+
<Reference Include="UnityEngine.PlaymodeTestsRunner">
55+
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/PlaymodeTestsRunner/UnityEngine.PlaymodeTestsRunner.dll</HintPath>
56+
</Reference>
57+
<Reference Include="UnityEngine.Networking">
58+
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
59+
</Reference>
60+
<Reference Include="UnityEngine.UI">
61+
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
62+
</Reference>
63+
<Reference Include="UnityEngine.HoloLens">
64+
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll</HintPath>
65+
</Reference>
66+
<Reference Include="UnityEngine.VR">
67+
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityVR/RuntimeEditor/UnityEngine.VR.dll</HintPath>
68+
</Reference>
69+
<Reference Include="Newtonsoft.Json 1">
70+
<HintPath>/Users/peterthorne/xAPI Test/Assets/Newtonsoft.Json 1.dll</HintPath>
71+
</Reference>
72+
<Reference Include="Newtonsoft.Json">
73+
<HintPath>/Users/peterthorne/xAPI Test/Assets/Newtonsoft.Json.dll</HintPath>
74+
</Reference>
75+
<Reference Include="TinCan 1">
76+
<HintPath>/Users/peterthorne/xAPI Test/Assets/TinCan 1.dll</HintPath>
77+
</Reference>
78+
<Reference Include="TinCan">
79+
<HintPath>/Users/peterthorne/xAPI Test/Assets/TinCan.dll</HintPath>
80+
</Reference>
81+
</ItemGroup>
82+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
83+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
84+
Other similar extension points exist, see Microsoft.Common.targets.
85+
<Target Name="BeforeBuild">
86+
</Target>
87+
<Target Name="AfterBuild">
88+
</Target>
89+
-->
90+
91+
</Project>

Assets/Main.unity

13.3 KB
Binary file not shown.

Assets/Main.unity.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/NewBehaviourScript.cs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
5+
public class NewBehaviourScript : MonoBehaviour {
6+
7+
// Use this for initialization
8+
void Start () {
9+
10+
}
11+
12+
// Update is called once per frame
13+
void Update () {
14+
15+
}
16+
}

Assets/NewBehaviourScript.cs.meta

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Newtonsoft.Json 1.dll

447 KB
Binary file not shown.

Assets/Newtonsoft.Json 1.dll.meta

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Newtonsoft.Json.dll

447 KB
Binary file not shown.

Assets/Newtonsoft.Json.dll.meta

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/TinCan 1.dll

43.5 KB
Binary file not shown.

Assets/TinCan 1.dll.meta

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/TinCan.dll

43.5 KB
Binary file not shown.

Assets/TinCan.dll.meta

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/TinCanTest.cs

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using System;
4+
using UnityEngine;
5+
using TinCan;
6+
using TinCan.LRSResponses;
7+
8+
public class TinCanInterface{
9+
10+
private string endpoint;
11+
private string user;
12+
private string pass;
13+
14+
private RemoteLRS lrs = null;
15+
16+
public TinCanInterface(string endpoint, string user, string password){
17+
this.endpoint = endpoint;
18+
this.user = user;
19+
this.pass = password;
20+
this.lrs = new RemoteLRS (endpoint, user, password);
21+
}
22+
23+
public LRSResponse SendStatement(Statement statement) {
24+
return this.lrs.SaveStatement(statement);
25+
}
26+
}
27+
28+
public class TinCanTest : MonoBehaviour {
29+
30+
// Use this for initialization
31+
void Start () {
32+
Debug.Log("Hello World!");
33+
string endpoint = "https://ORG_NAME.learninglocker.net/data/xAPI";
34+
string user = "KEY";
35+
string password = "SECRET";
36+
TinCanInterface lrsConnection = new TinCanInterface(endpoint, user, password);
37+
38+
var actor = new Agent();
39+
actor.mbox = "mailto:[email protected]";
40+
41+
var verb = new Verb();
42+
verb.id = new Uri ("http://adlnet.gov/expapi/verbs/experienced");
43+
verb.display = new LanguageMap();
44+
verb.display.Add("en-US", "experienced");
45+
46+
var activity = new Activity();
47+
activity.id = "http://rusticisoftware.github.io/TinCan.NET";
48+
49+
var statement = new Statement();
50+
statement.actor = actor;
51+
statement.verb = verb;
52+
statement.target = activity;
53+
54+
var response = lrsConnection.SendStatement (statement);
55+
Debug.Log(response);
56+
}
57+
58+
// Update is called once per frame
59+
void Update () {
60+
61+
}
62+
}

Assets/TinCanTest.cs.meta

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Library/AnnotationManager

4.02 KB
Binary file not shown.

Library/AssetImportState

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
27;0;196608;0;0

Library/AssetServerCacheV3

4.64 KB
Binary file not shown.

Library/BuildPlayer.prefs

Whitespace-only changes.

Library/BuildSettings.asset

4.04 KB
Binary file not shown.

Library/CurrentLayout.dwlt

41.9 KB
Binary file not shown.

Library/EditorUserBuildSettings.asset

4.14 KB
Binary file not shown.

Library/EditorUserSettings.asset

4.05 KB
Binary file not shown.

Library/InspectorExpandedItems.asset

4.01 KB
Binary file not shown.

Library/LastSceneManagerSetup.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sceneSetups:
2+
- path: Assets/Main.unity
3+
isLoaded: 1
4+
isActive: 1

Library/LibraryFormatVersion.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
unityRebuildLibraryVersion: 11
2+
unityForwardCompatibleVersion: 40

Library/MonoManager.asset

4 KB
Binary file not shown.

Library/ProjectSettings.asset

38.9 KB
Binary file not shown.
4.5 KB
Binary file not shown.
772 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0000.5836f463.0000
2+
0000.5836f470.0000

Library/ScriptMapper

10.6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Library/assetDatabase3

2.84 MB
Binary file not shown.

Library/expandedItems

4.07 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Base path: /Applications/Unity/Unity.app/Contents
2+
Cmd: getPlatforms

ProjectSettings/AudioManager.asset

4.04 KB
Binary file not shown.
4.01 KB
Binary file not shown.

ProjectSettings/DynamicsManager.asset

4.18 KB
Binary file not shown.
4.01 KB
Binary file not shown.

ProjectSettings/EditorSettings.asset

4.07 KB
Binary file not shown.
4.29 KB
Binary file not shown.

ProjectSettings/InputManager.asset

5.39 KB
Binary file not shown.

ProjectSettings/NavMeshAreas.asset

4.28 KB
Binary file not shown.

ProjectSettings/NetworkManager.asset

4.02 KB
Binary file not shown.
4.28 KB
Binary file not shown.

ProjectSettings/ProjectSettings.asset

38.9 KB
Binary file not shown.

ProjectSettings/ProjectVersion.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
m_EditorVersion: 5.5.0f3

ProjectSettings/QualitySettings.asset

4.86 KB
Binary file not shown.

ProjectSettings/TagManager.asset

4.21 KB
Binary file not shown.

ProjectSettings/TimeManager.asset

4.02 KB
Binary file not shown.
4.11 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.dll
2+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEditor.dll
3+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.Analytics.dll
4+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.PlaymodeTestsRunner.dll
5+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.Networking.dll
6+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.UI.dll
7+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.HoloLens.dll
8+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/UnityEngine.VR.dll
9+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/TinCan.dll
10+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Newtonsoft.Json.dll
11+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Mono.Cecil.dll
12+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Unity.SerializationLogic.dll
13+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Unity.DataContract.dll
14+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/ICSharpCode.NRefactory.dll
15+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Unity.UNetWeaver.dll
16+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Unity.UNetWeaver.dll.mdb
17+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Unity.CecilTools.dll
18+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Mono.Cecil.Pdb.dll
19+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Mono.Cecil.Mdb.dll
20+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Assembly-CSharp.dll.mdb
21+
/Users/peterthorne/xAPI Test/Temp/bin/Debug/Assembly-CSharp.dll
22+
/Users/peterthorne/xAPI Test/obj/Debug/Assembly-CSharp.dll
23+
/Users/peterthorne/xAPI Test/obj/Debug/Assembly-CSharp.dll.mdb

obj/Debug/Assembly-CSharp.dll

4.5 KB
Binary file not shown.

obj/Debug/Assembly-CSharp.dll.mdb

558 Bytes
Binary file not shown.

xAPI Test.sln

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Microsoft Visual Studio Solution File, Format Version 11.00
2+
# Visual Studio 2008
3+
4+
Project("{D05A5D45-D41C-3FE2-57CE-6D552EAE47D0}") = "xAPI Test", "Assembly-CSharp.csproj", "{4CC341CD-746C-ED06-71DC-8B847B451B77}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{4CC341CD-746C-ED06-71DC-8B847B451B77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{4CC341CD-746C-ED06-71DC-8B847B451B77}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{4CC341CD-746C-ED06-71DC-8B847B451B77}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{4CC341CD-746C-ED06-71DC-8B847B451B77}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
GlobalSection(MonoDevelopProperties) = preSolution
21+
StartupItem = Assembly-CSharp.csproj
22+
EndGlobalSection
23+
EndGlobal

xAPI Test.userprefs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Properties StartupItem="Assembly-CSharp.csproj">
2+
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
3+
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/TinCanTest.cs">
4+
<Files>
5+
<File FileName="Assets/TinCanTest.cs" Line="41" Column="25" />
6+
</Files>
7+
</MonoDevelop.Ide.Workbench>
8+
<MonoDevelop.Ide.DebuggingService.Breakpoints>
9+
<BreakpointStore />
10+
</MonoDevelop.Ide.DebuggingService.Breakpoints>
11+
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
12+
</Properties>

0 commit comments

Comments
 (0)