You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1012 B
41 lines
1012 B
1 month ago
|
using System;
|
||
|
using System.Runtime.Serialization;
|
||
|
|
||
|
namespace SogClient
|
||
|
{
|
||
|
[DataContract]
|
||
|
public class ClientTestConfig
|
||
|
{
|
||
|
//lobby服务器的ip地址
|
||
|
[DataMember(Order = 0)]
|
||
|
public string serverIp { get; set; }
|
||
|
|
||
|
//lobby服务器的端口
|
||
|
[DataMember(Order = 1)]
|
||
|
public int serverPort { get; set; }
|
||
|
|
||
|
//是否加密协议
|
||
|
[DataMember(Order = 2)]
|
||
|
public bool cryptoMessage { get; set; }
|
||
|
|
||
|
//线程数量
|
||
|
[DataMember(Order = 3)]
|
||
|
public int threadCount { get; set; }
|
||
|
|
||
|
//每个线程玩家数量
|
||
|
[DataMember(Order = 4)]
|
||
|
public int playerCountPerThread { get; set; }
|
||
|
|
||
|
//帐号前缀,多开的话要保证每个进程前缀不通
|
||
|
//"TestPlayer.ClientTest.";
|
||
|
[DataMember(Order = 5)]
|
||
|
public string playerAccountIDPre { get; set; }
|
||
|
|
||
|
// 0:TCP 1:UDP 2:WebSocket
|
||
|
[DataMember(Order = 6)]
|
||
|
public int useGateType { get; set; }
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|