-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.cs
66 lines (48 loc) · 2 KB
/
Constants.cs
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
61
62
63
64
65
66
namespace ServerBrowser
{
public class Constants
{
public const int PublisherMaxLen = 64;
public const int PublisherMinLen = 0;
// Server
public const int ServerTitleMaxLen = 64;
public const int ServerTitleMinLen = 3;
public const int ServerDescMaxLen = 64;
public const int ServerDescMinLen = 0;
public const int ServerImageMaxLen = 128;
public const int ServerImageMinLen = 0;
public const int ServerAddressMaxLen = 128;
public const int ServerAddressMinLen = 0;
// List
public const int ListTitleMaxLen = 64;
public const int ListTitleMinLen = 3;
public const int ListDescMaxLen = 64;
public const int ListDescMinLen = 0;
public const int ListIdsMaxLen = 100;
public const int ListIdsStringMaxLen = 256;
public const int ListIdsStringMinLen = 1;
// Review
public const int ReviewTitleMaxLen = 64;
public const int ReviewTitleMinLen = 3;
public const int ReviewDescMaxLen = 256;
public const int ReviewDescMinLen = 0;
// Announcement
public const int AnnouncementTitleMaxLen = 64;
public const int AnnouncementTitleMinLen = 6;
public const int AnnouncementDescMaxLen = 256;
public const int AnnouncementDescMinLen = 0;
public const int AnnouncementIdsMaxLen = 100;
public const int AnnouncementIdsStringMaxLen = 256;
public const int AnnouncementIdsStringMinLen = 1;
// Server Type
public const int ServerTypeNameMaxLength = 32;
public const int ServerTypeNameMinLength = 0;
public const int ServerTypeDescMaxLength = 64;
public const int ServerTypeDescMinLength = 0;
// Timeline
public const int TimelineNameMaxLength = 32;
public const int TimelineNameMinLength = 3;
public const int TimelineEventDescriptionMaxLen = 512;
public const int TimelineEventsMax = 100;
}
}