示例#1
0
        void cmdLogOnAll_Hit(object sender, EventArgs e)
        {
            LogOnAllFlag     ^= true;
            LogOnPkFlag       = LogOnAllFlag;
            LogOnUnknownFlag  = LogOnAllFlag;
            LogOnFriendlyFlag = LogOnAllFlag;

            Util.WriteToChat(
                "Log on: " +
                "\n     PK: " + LogOnPkFlag.ToString() +
                "\n     Unknown: " + LogOnUnknownFlag.ToString() +
                "\n     Friendly: " + LogOnFriendlyFlag.ToString() +
                "\n   All: " + LogOnAllFlag.ToString(),
                ChatUtil.Color.blue_bright);
        }
示例#2
0
 void cmdLogOnUnknown_Hit(object sender, EventArgs e)
 {
     LogOnUnknownFlag ^= true;
     Util.WriteToChat("Log on Unknown: " + LogOnUnknownFlag.ToString(), ChatUtil.Color.blue_bright);
 }