-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerOption.cs
More file actions
42 lines (32 loc) · 1.53 KB
/
Copy pathServerOption.cs
File metadata and controls
42 lines (32 loc) · 1.53 KB
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
namespace GameServer;
public class ServerOption
{
public Int32 ServerUniqueID { get; set; }
public string Name { get; set; } = null!;
public Int32 MaxConnectionNumber { get; set; }
public Int32 Port { get; set; }
public Int32 MaxRequestLength { get; set; }
public Int32 ReceiveBufferSize { get; set; }
public Int32 SendBufferSize { get; set; }
public Int32 MaxUserCount { get; set; } = 0;
public Int32 MaxRoomCount { get; set; } = 0;
public Int32 MaxRoomUserCount { get; set; } = 0;
public Int32 RoomStartNumber { get; set; } = 0;
public Int32 MaxRoomCheckCount { get; set; }
public Int32 MaxSessionCheckCount { get; set; }
public Int32 MaxHeartBeatCheckCount { get; set; }
public string DatabaseConnectionString { get; set; } = null!;
public string RedisConnectionString { get; set; } = null!;
public Int32 SessionTimeoutMilliSeconds { get; set; }
public Int32 HeartBeatMilliSeconds { get; set; }
public Int32 RoomCheckMilliSeconds { get; set; }
public Int32 SessionTimeoutTimerMilliSeconds { get; set; }
public Int32 RoomCheckTimerMilliSeconds { get; set; }
public Int32 HeartBeatTimerMilliSeconds { get; set; }
public Int32 OmokGameTurnTimeoutSeconds { get; set; }
public Int32 OmokGameTurnTimeoutCount { get; set; }
public Int32 OmokGameMaxGameTimeMinute { get; set; }
public Int32 MaxMatchingWaitingTimeSeconds { get; set; }
public string RedisPubKey { get; set; } = null!;
public string RedisSubKey { get; set; } = null!;
}