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.
40 lines
872 B
40 lines
872 B
1 month ago
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Sog
|
||
|
{
|
||
|
public enum DirtyStringCheckType
|
||
|
{
|
||
|
CSSetPersonalizedSignatureReq = 1,
|
||
|
CSRenameReq = 2,
|
||
|
CSUnionOpReq = 3,
|
||
|
CSCreateUnionReq = 4,
|
||
|
CSReUnionNameReq = 5,
|
||
|
SSRenameReq = 6,
|
||
|
CSPresetRenameReq = 7,
|
||
|
}
|
||
|
|
||
|
public class DirtyStringCheckObj
|
||
|
{
|
||
|
public long seq;
|
||
|
public DirtyStringCheckType checkType;
|
||
|
public long timeSec;
|
||
|
public object obj;
|
||
|
}
|
||
|
|
||
|
public class DirtyString
|
||
|
{
|
||
|
public long nowSeq;
|
||
|
public Dictionary<long, DirtyStringCheckObj> checkObjMap;
|
||
|
public DirtyString()
|
||
|
{
|
||
|
nowSeq = 0;
|
||
|
checkObjMap = new Dictionary<long, DirtyStringCheckObj>();
|
||
|
}
|
||
|
public long GetNextSeq()
|
||
|
{
|
||
|
++nowSeq;
|
||
|
return nowSeq;
|
||
|
}
|
||
|
}
|
||
|
}
|