Skip to content

Commit e360947

Browse files
committed
Public Release
0 parents  commit e360947

File tree

3,411 files changed

+40063
-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.

3,411 files changed

+40063
-0
lines changed

.gitattributes

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain
64+
65+
# Collapse Unity-generated files on GitHub
66+
*.asset linguist-generated
67+
*.mat linguist-generated
68+
*.meta linguist-generated
69+
*.prefab linguist-generated
70+
*.unity linguist-generated

.gitignore

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
1+
# Unity Temp directory
2+
Temp/
3+
4+
# Non-distributable Distance code
5+
Distance.dll
6+
7+
# Test plugins
8+
/DistanceServer/DistanceServerBaseExternal.*
9+
/DistanceServer/*.dll
10+
/DistanceServer/Plugins/*.*
11+
12+
## Ignore Visual Studio temporary files, build results, and
13+
## files generated by popular Visual Studio add-ons.
14+
15+
# User-specific files
16+
*.suo
17+
*.user
18+
*.userosscache
19+
*.sln.docstates
20+
21+
# User-specific files (MonoDevelop/Xamarin Studio)
22+
*.userprefs
23+
24+
# Build results
25+
[Dd]ebug/
26+
[Dd]ebugPublic/
27+
[Rr]elease/
28+
[Rr]eleases/
29+
x64/
30+
x86/
31+
[Bb]uild/
32+
bld/
33+
[Bb]in/
34+
[Oo]bj/
35+
36+
# Visual Studio 2015 cache/options directory
37+
.vs/
38+
39+
# MSTest test Results
40+
[Tt]est[Rr]esult*/
41+
[Bb]uild[Ll]og.*
42+
43+
# NUNIT
44+
*.VisualState.xml
45+
TestResult.xml
46+
47+
# Build Results of an ATL Project
48+
[Dd]ebugPS/
49+
[Rr]eleasePS/
50+
dlldata.c
51+
52+
# DNX
53+
project.lock.json
54+
artifacts/
55+
56+
*_i.c
57+
*_p.c
58+
*_i.h
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.svclog
79+
*.scc
80+
81+
# Chutzpah Test files
82+
_Chutzpah*
83+
84+
# Visual C++ cache files
85+
ipch/
86+
*.aps
87+
*.ncb
88+
*.opensdf
89+
*.sdf
90+
*.cachefile
91+
92+
# Visual Studio profiler
93+
*.psess
94+
*.vsp
95+
*.vspx
96+
97+
# TFS 2012 Local Workspace
98+
$tf/
99+
100+
# Guidance Automation Toolkit
101+
*.gpState
102+
103+
# ReSharper is a .NET coding add-in
104+
_ReSharper*/
105+
*.[Rr]e[Ss]harper
106+
*.DotSettings.user
107+
108+
# JustCode is a .NET coding add-in
109+
.JustCode
110+
111+
# TeamCity is a build add-in
112+
_TeamCity*
113+
114+
# DotCover is a Code Coverage Tool
115+
*.dotCover
116+
117+
# NCrunch
118+
_NCrunch_*
119+
.*crunch*.local.xml
120+
121+
# MightyMoose
122+
*.mm.*
123+
AutoTest.Net/
124+
125+
# Web workbench (sass)
126+
.sass-cache/
127+
128+
# Installshield output folder
129+
[Ee]xpress/
130+
131+
# DocProject is a documentation generator add-in
132+
DocProject/buildhelp/
133+
DocProject/Help/*.HxT
134+
DocProject/Help/*.HxC
135+
DocProject/Help/*.hhc
136+
DocProject/Help/*.hhk
137+
DocProject/Help/*.hhp
138+
DocProject/Help/Html2
139+
DocProject/Help/html
140+
141+
# Click-Once directory
142+
publish/
143+
144+
# Publish Web Output
145+
*.[Pp]ublish.xml
146+
*.azurePubxml
147+
## TODO: Comment the next line if you want to checkin your
148+
## web deploy settings but do note that will include unencrypted
149+
## passwords
150+
#*.pubxml
151+
152+
*.publishproj
153+
154+
# NuGet Packages
155+
*.nupkg
156+
# The packages folder can be ignored because of Package Restore
157+
**/packages/*
158+
# except build/, which is used as an MSBuild target.
159+
!**/packages/build/
160+
# Uncomment if necessary however generally it will be regenerated when needed
161+
#!**/packages/repositories.config
162+
163+
# Windows Azure Build Output
164+
csx/
165+
*.build.csdef
166+
167+
# Windows Store app package directory
168+
AppPackages/
169+
170+
# Visual Studio cache files
171+
# files ending in .cache can be ignored
172+
*.[Cc]ache
173+
# but keep track of directories ending in .cache
174+
!*.[Cc]ache/
175+
176+
# Others
177+
ClientBin/
178+
[Ss]tyle[Cc]op.*
179+
~$*
180+
*~
181+
*.dbmdl
182+
*.dbproj.schemaview
183+
*.pfx
184+
*.publishsettings
185+
node_modules/
186+
orleans.codegen.cs
187+
188+
# RIA/Silverlight projects
189+
Generated_Code/
190+
191+
# Backup & report files from converting an old project file
192+
# to a newer Visual Studio version. Backup files are not needed,
193+
# because we have git ;-)
194+
_UpgradeReport_Files/
195+
Backup*/
196+
UpgradeLog*.XML
197+
UpgradeLog*.htm
198+
199+
# SQL Server files
200+
*.mdf
201+
*.ldf
202+
203+
# Business Intelligence projects
204+
*.rdl.data
205+
*.bim.layout
206+
*.bim_*.settings
207+
208+
# Microsoft Fakes
209+
FakesAssemblies/
210+
211+
# Node.js Tools for Visual Studio
212+
.ntvs_analysis.dat
213+
214+
# Visual Studio 6 build log
215+
*.plg
216+
217+
# Visual Studio 6 workspace options file
218+
*.opt
219+
220+
# LightSwitch generated files
221+
GeneratedArtifacts/
222+
_Pvt_Extensions/
223+
ModelManifest.xml
224+
225+
# Unity
226+
Assets/AssetStoreTools*
227+
228+
# Autogenerated VS/MD/Consulo solution and project files
229+
ExportedObj/
230+
.consulo/
231+
*.csproj
232+
*.unityproj
233+
*.sln
234+
*.suo
235+
*.tmp
236+
*.user
237+
*.userprefs
238+
*.pidb
239+
*.booproj
240+
*.svd
241+
*.pdb
242+
*.opendb
243+
*.VC.db
244+
245+
# Unity3D generated meta _UpgradeReport_Files
246+
*.pidb.meta
247+
*.pdb.meta
248+
249+
# Unity3D Generated File On Crash Reports
250+
sysinfo.txt
251+
252+
# Builds
253+
*.apk
254+
*.unitypackage

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "NetworkDebugger/Spectrum"]
2+
path = NetworkDebugger/Spectrum
3+
url = https://github.com/Ciastex/Spectrum
4+
[submodule "NetworkDebugger/Harmony"]
5+
path = NetworkDebugger/Harmony
6+
url = https://github.com/pardeike/Harmony
7+
[submodule "Patcher/dnlib"]
8+
path = Patcher/dnlib
9+
url = https://github.com/0xd4d/dnlib
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
8+
public abstract class DistanceCarBase
9+
{
10+
public abstract void ReceiveSerializeEvent(byte[] bytes);
11+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
5+
public class DistanceCarNetworkerBridge : MonoBehaviour
6+
{
7+
public DistanceCarBase Car = null;
8+
// TODO: Write OnSerializeNetworkView to receive car position and orientation data
9+
10+
// Use this for initialization
11+
void Start()
12+
{
13+
Log.WriteLine("DistanceCarNetworker Started");
14+
}
15+
16+
// Update is called once per frame
17+
void Update()
18+
{
19+
20+
}
21+
22+
[RPC]
23+
void ReceiveSerializeEvent(byte[] bytes)
24+
{
25+
Car.ReceiveSerializeEvent(bytes);
26+
}
27+
28+
}

0 commit comments

Comments
 (0)