Server Sync
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"com.unity.adaptiveperformance.samsung.android": "4.0.2",
|
"com.unity.adaptiveperformance.samsung.android": "4.0.2",
|
||||||
"com.unity.collab-proxy": "1.17.7",
|
"com.unity.collab-proxy": "1.17.7",
|
||||||
"com.unity.feature.development": "1.0.1",
|
"com.unity.feature.development": "1.0.1",
|
||||||
|
"com.unity.formats.fbx": "4.1.3",
|
||||||
"com.unity.ide.rider": "3.0.18",
|
"com.unity.ide.rider": "3.0.18",
|
||||||
"com.unity.ide.visualstudio": "2.0.17",
|
"com.unity.ide.visualstudio": "2.0.17",
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
"com.unity.ide.vscode": "1.2.5",
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"com.autodesk.fbx": {
|
||||||
|
"version": "4.1.2",
|
||||||
|
"depth": 1,
|
||||||
|
"source": "registry",
|
||||||
|
"dependencies": {},
|
||||||
|
"url": "https://packages.unity.com"
|
||||||
|
},
|
||||||
"com.unity.adaptiveperformance": {
|
"com.unity.adaptiveperformance": {
|
||||||
"version": "4.0.1",
|
"version": "4.0.1",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
@@ -47,8 +54,8 @@
|
|||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "builtin",
|
"source": "builtin",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.ide.visualstudio": "2.0.17",
|
"com.unity.ide.visualstudio": "2.0.16",
|
||||||
"com.unity.ide.rider": "3.0.18",
|
"com.unity.ide.rider": "3.0.16",
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
"com.unity.ide.vscode": "1.2.5",
|
||||||
"com.unity.editorcoroutines": "1.0.0",
|
"com.unity.editorcoroutines": "1.0.0",
|
||||||
"com.unity.performance.profile-analyzer": "1.1.1",
|
"com.unity.performance.profile-analyzer": "1.1.1",
|
||||||
@@ -56,6 +63,16 @@
|
|||||||
"com.unity.testtools.codecoverage": "1.2.2"
|
"com.unity.testtools.codecoverage": "1.2.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"com.unity.formats.fbx": {
|
||||||
|
"version": "4.1.3",
|
||||||
|
"depth": 0,
|
||||||
|
"source": "registry",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.timeline": "1.5.2",
|
||||||
|
"com.autodesk.fbx": "4.1.2"
|
||||||
|
},
|
||||||
|
"url": "https://packages.unity.com"
|
||||||
|
},
|
||||||
"com.unity.ide.rider": {
|
"com.unity.ide.rider": {
|
||||||
"version": "3.0.18",
|
"version": "3.0.18",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
@@ -112,7 +129,7 @@
|
|||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.services.core": {
|
"com.unity.services.core": {
|
||||||
"version": "1.7.0",
|
"version": "1.6.0",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
m_EditorVersion: 2021.3.17f1
|
m_EditorVersion: 2021.3.16f1
|
||||||
m_EditorVersionWithRevision: 2021.3.17f1 (3e8111cac19d)
|
m_EditorVersionWithRevision: 2021.3.16f1 (4016570cf34f)
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ EditorUserSettings:
|
|||||||
value: 55010d0300055a5a595a592641730d44104e4c287b2e71662c7b186bb3b86069
|
value: 55010d0300055a5a595a592641730d44104e4c287b2e71662c7b186bb3b86069
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedSceneGuid-2:
|
RecentlyUsedSceneGuid-2:
|
||||||
value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a
|
value: 0000025f04075d0f0c0a5c7149205a4417154f782e7923357e7a4560e3b4653b
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedSceneGuid-3:
|
RecentlyUsedSceneGuid-3:
|
||||||
value: 0000025f04075d0f0c0a5c7149205a4417154f782e7923357e7a4560e3b4653b
|
value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a
|
||||||
flags: 0
|
flags: 0
|
||||||
UnityRemoteDevice:
|
UnityRemoteDevice:
|
||||||
value: 225f4d46245b0d4902070862342649191512
|
value: 225f4d46245b0d4902070862342649191512
|
||||||
|
|||||||
Generated
+16
-15
@@ -33,22 +33,22 @@
|
|||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"WebServerToolWindowFactoryState": "false",
|
"WebServerToolWindowFactoryState": "false",
|
||||||
"last_opened_file_path": "C:/flufflparty/Server",
|
"last_opened_file_path": "D:/Unity/flufflparty/flufflparty/Server",
|
||||||
"node.js.detected.package.eslint": "true",
|
"node.js.detected.package.eslint": "true",
|
||||||
"node.js.detected.package.tslint": "true",
|
"node.js.detected.package.tslint": "true",
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"project.structure.last.edited": "Artifacts",
|
"project.structure.last.edited": "Artifacts",
|
||||||
"project.structure.proportion": "0.0",
|
"project.structure.proportion": "0.0",
|
||||||
"project.structure.side.proportion": "0.2",
|
"project.structure.side.proportion": "0.2",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="RunManager">
|
<component name="RunManager">
|
||||||
<configuration name="Main" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
<configuration name="Main" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||||
<option name="MAIN_CLASS_NAME" value="Main" />
|
<option name="MAIN_CLASS_NAME" value="Main" />
|
||||||
@@ -90,6 +90,7 @@
|
|||||||
<workItem from="1677520608630" duration="13000" />
|
<workItem from="1677520608630" duration="13000" />
|
||||||
<workItem from="1677789901008" duration="661000" />
|
<workItem from="1677789901008" duration="661000" />
|
||||||
<workItem from="1677881295823" duration="3489000" />
|
<workItem from="1677881295823" duration="3489000" />
|
||||||
|
<workItem from="1680022478274" duration="1038000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
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.
@@ -270,6 +270,20 @@ public class Room
|
|||||||
/**
|
/**
|
||||||
* //the timeout check action
|
* //the timeout check action
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
case 10:
|
||||||
|
for (int i = 0; i < players.length; i++)
|
||||||
|
{
|
||||||
|
//Sync to OTHER players
|
||||||
|
if (i != player)
|
||||||
|
{
|
||||||
|
//!!data processing!!
|
||||||
|
//------------------------------action---player-------item index--------free space--------
|
||||||
|
players[i].output.write(new byte[]{10, (byte)player, readData[1], 0, 0, 0, 0, 0, 0, 0});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 126:
|
case 126:
|
||||||
//!!server action!!
|
//!!server action!!
|
||||||
players[player].lastTimeSendTimeOutCheck = System.currentTimeMillis();
|
players[player].lastTimeSendTimeOutCheck = System.currentTimeMillis();
|
||||||
|
|||||||
Reference in New Issue
Block a user