forked from FICTURE7/uberstrok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPhotonServer.config
executable file
·60 lines (48 loc) · 1.77 KB
/
PhotonServer.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<!-- Project UbzStuff configurations. -->
<UberStrok>
<!-- Runtime configuration -->
<Runtime
Assembly="PhotonHostRuntime, Culture=neutral"
Type="PhotonHostRuntime.PhotonDomainManager"
UnhandledExceptionPolicy="Ignore">
</Runtime>
<Applications Default="UberStrok.Realtime.Server.Game">
<!-- CommServer that is going to handle chat messages (lobby) and etc. -->
<Application
Name="UberStrok.Realtime.Server.Comm"
BaseDirectory="UberStrok.Realtime.Server.Comm"
Assembly="UberStrok.Realtime.Server.Comm"
Type="UberStrok.Realtime.Server.Comm.CommApplication"
ForceAutoRestart="true"
WatchFiles="dll;config"
ExcludeFiles="log4net.config">
</Application>
<!-- GameServer that is going to handle games and etc. -->
<Application
Name="UberStrok.Realtime.Server.Game"
BaseDirectory="UberStrok.Realtime.Server.Game"
Assembly="UberStrok.Realtime.Server.Game"
Type="UberStrok.Realtime.Server.Game.GameApplication"
ForceAutoRestart="true"
WatchFiles="dll;config"
ExcludeFiles="log4net.config">
</Application>
</Applications>
<UDPListeners>
<!-- CommServer UDP listener configuration. -->
<UDPListener
IPAddress="0.0.0.0"
Port="5055"
OverrideApplication="UberStrok.Realtime.Server.Comm">
</UDPListener>
<!-- GameServer UDP listener configuration. -->
<UDPListener
IPAddress="0.0.0.0"
Port="5056"
OverrideApplication="UberStrok.Realtime.Server.Game">
</UDPListener>
</UDPListeners>
</UberStrok>
</Configuration>