Commit 7a078aec authored by 潘栩锋's avatar 潘栩锋 🚴

添加 WarningSystem Add()的重载, 不需要写 ON 了

parent 6d836e19
......@@ -65,7 +65,10 @@ namespace FLY.OBJComponents.Server
#region IWarningServiceSimple
public void Add(int errcode, string description)
{
Add(errcode, description, ERR_STATE.ON, "");
}
public void Add(int errcode, string description, ERR_STATE state)
{
Add(errcode, description, state, "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment