예제 #1
0
    private void a(object A_0, ChangeFellowshipEventArgs A_1)
    {
        try
        {
            switch (A_1.get_Type())
            {
            case 0:
                this.g = true;
                this.h = A_1.get_Id();
                if ((A_1.get_Id() != this.e.aw.get_CharacterFilter().get_Id()) && !this.i.ContainsKey(A_1.get_Id()))
                {
                    this.i.Add(A_1.get_Id(), new eo.b());
                    if (dh.b(A_1.get_Id()))
                    {
                        this.i[A_1.get_Id()].j = PluginCore.cq.aw.get_WorldFilter().get_Item(A_1.get_Id()).get_Name();
                    }
                }
                return;

            case 1:
                if (A_1.get_Id() != this.e.aw.get_CharacterFilter().get_Id())
                {
                    break;
                }
                this.g = false;
                this.h = 0;
                this.i.Clear();
                return;

            case 2:
                if (A_1.get_Id() != this.e.aw.get_CharacterFilter().get_Id())
                {
                    goto Label_01B3;
                }
                this.g = false;
                this.h = 0;
                this.i.Clear();
                return;

            case 3:
                if (A_1.get_Id() == this.e.aw.get_CharacterFilter().get_Id())
                {
                    this.g = true;
                }
                return;

            case 4:
                this.g = false;
                this.h = 0;
                this.i.Clear();
                return;

            default:
                return;
            }
            if (this.i.ContainsKey(A_1.get_Id()))
            {
                this.i.Remove(A_1.get_Id());
            }
            return;

Label_01B3:
            if (this.i.ContainsKey(A_1.get_Id()))
            {
                this.i.Remove(A_1.get_Id());
            }
        }
        catch (Exception exception)
        {
            ad.a(exception);
        }
    }
예제 #2
0
 void CharacterFilter_ChangeFellowship(object sender, ChangeFellowshipEventArgs e)
 {
     // DO STUFF HERE
 }
예제 #3
0
        internal void WriteObject(ChangeFellowshipEventArgs obj)
        {
            if (ActiveSettings.Instance.DebugLevel == DebugLevel.None)
                return;

            lock (this._writeLock)
            {
                using (StreamWriter stream = new StreamWriter(this._currentPath, true))
                {
                    this.LogRawMessage(this.FormatWithPrefix("ChangeFellowshipEventArgs"), stream);
                    this.LogRawMessage(string.Format("  Id = {0}", obj.Id), stream);
                    this.LogRawMessage(string.Format("  Type = {0}", obj.Type), stream);

                    //this.WriteCurrentStateStuff(stream, false);

                    this.LogRawMessage("", stream);
                }
            }
        }
예제 #4
0
 private void CharacterFilter_ChangeFellowship(object sender, ChangeFellowshipEventArgs e)
 {
     // DO STUFF HERE
 }
예제 #5
0
 void CharacterFilter_ChangeFellowship(object sender, ChangeFellowshipEventArgs e)
 {
 }