public PieceOfInformation ( string sid, string id, string displayName, string version, string content, bool limited, bool hidden ) : AcTools.Utils.Helpers | ||
sid | string | |
id | string | |
displayName | string | |
version | string | |
content | string | |
limited | bool | |
hidden | bool | |
return | AcTools.Utils.Helpers |
public PieceOfInformation(string sid, string id, string displayName, string version, string content, bool limited, bool hidden) {
_sid = @"PieceOfInformation.IsNotNew_" + sid;
Id = id;
DisplayName = displayName;
Content = content;
Version = version;
IsLimited = limited;
IsNew = !ValuesStorage.GetBool(_sid);
IsHidden = IsNew && hidden;
}