Example #1
0
 public FinesseReceiver(StreamReader reader, Finesse finesseObj)
 {
     this.reader     = reader;
     this.logwrite   = LogWrite.getInstance();
     this.finesseObj = finesseObj;   // Finesse 로 부터 받은 콜 관련 데이터 이벤트 콜백 호출을 위한 객체
     this.xmlParser  = new XMLParser(logwrite, null);
 }
Example #2
0
        public ISPSReceiver(TcpClient sock, Finesse finesseObj, ISPSClient ispsClient)
        {
            this.sock        = sock;
            this.writeStream = sock.GetStream();
            Encoding encode = System.Text.Encoding.GetEncoding("UTF-8");

            this.reader     = new StreamReader(writeStream, encode);
            this.logwrite   = LogWrite.getInstance();
            this.finesseObj = finesseObj;   // Finesse 로 부터 받은 콜 관련 데이터 이벤트 콜백 호출을 위한 객체
            this.ispsClient = ispsClient;
        }
Example #3
0
        public AEMSReceiver(TcpClient sock, Finesse finesseObj, AEMSClient aemsClient)
        {
            this.sock        = sock;
            this.finesseObj  = finesseObj;
            this.logwrite    = LogWrite.getInstance();
            this.writeStream = sock.GetStream();
            Encoding encode = System.Text.Encoding.GetEncoding("UTF-8");

            this.reader     = new StreamReader(writeStream, encode);
            this.aemsClient = aemsClient;
        }
Example #4
0
        public FinesseReceiver(TcpClient sock, Finesse finesseObj, Agent agent, FinesseClient finesseClient)
        {
            this.sock        = sock;
            this.writeStream = sock.GetStream();
            Encoding encode = System.Text.Encoding.GetEncoding("UTF-8");

            this.reader        = new StreamReader(writeStream, encode);
            this.logwrite      = LogWrite.getInstance();
            this.finesseObj    = finesseObj; // Finesse 로 부터 받은 콜 관련 데이터 이벤트 콜백 호출을 위한 객체
            this.xmlParser     = new XMLParser(logwrite, agent);
            this.agent         = agent;
            this.finesseClient = finesseClient;
        }
Example #5
0
        internal void GenerateDefaultProfiles()
        {
            BuffProfile newProfile = new BuffProfile();

            BotBuffs botBuffs = new BotBuffs();

            newProfile.Commands = botBuffs.Commands;
            newProfile.Buffs    = botBuffs.Buffs;
            SaveBuffProfile(newProfile);

            Banes banes = new Banes();

            newProfile.Commands = banes.Commands;
            newProfile.Buffs    = banes.Buffs;
            SaveBuffProfile(newProfile);

            Finesse finesse = new Finesse();

            newProfile.Commands = finesse.Commands;
            newProfile.Buffs    = finesse.Buffs;
            SaveBuffProfile(newProfile);

            Heavy heavy = new Heavy();

            newProfile.Commands = heavy.Commands;
            newProfile.Buffs    = heavy.Buffs;
            SaveBuffProfile(newProfile);

            Light light = new Light();

            newProfile.Commands = light.Commands;
            newProfile.Buffs    = light.Buffs;
            SaveBuffProfile(newProfile);

            Mage mage = new Mage();

            newProfile.Commands = mage.Commands;
            newProfile.Buffs    = mage.Buffs;
            SaveBuffProfile(newProfile);

            Missile missile = new Missile();

            newProfile.Commands = missile.Commands;
            newProfile.Buffs    = missile.Buffs;
            SaveBuffProfile(newProfile);

            Trades trades = new Trades();

            newProfile.Commands = trades.Commands;
            newProfile.Buffs    = trades.Buffs;
            SaveBuffProfile(newProfile);

            TwoHand twoHand = new TwoHand();

            newProfile.Commands = twoHand.Commands;
            newProfile.Buffs    = twoHand.Buffs;
            SaveBuffProfile(newProfile);

            VoidBuffs voidBuffs = new VoidBuffs();

            newProfile.Commands = voidBuffs.Commands;
            newProfile.Buffs    = voidBuffs.Buffs;
            SaveBuffProfile(newProfile);

            XpChain xpChain = new XpChain();

            newProfile.Commands = xpChain.Commands;
            newProfile.Buffs    = xpChain.Buffs;
            SaveBuffProfile(newProfile);
        }
Example #6
0
        private bool isAlreadyAuth;     // 이벤트를 받기위해 XMPP 인증 절차 여부, XMPP 세션이 끊어지지 않으면, XMPP 인증은 한번만 받아야 한다.

        public FinesseClient(LogWrite logwrite, Finesse finesseObj) : base(logwrite)
        {
            this.finesseObj    = finesseObj;
            this.isAlreadyAuth = false;
        }
Example #7
0
 public ISPSClient(LogWrite logwrite, Finesse finesseObj) : base(logwrite)
 {
     this.finesseObj = finesseObj;
 }
Example #8
0
 public AEMSReceiver(StreamReader reader, Finesse finesseObj)
 {
     this.reader     = reader;
     this.logwrite   = LogWrite.getInstance();
     this.finesseObj = finesseObj;
 }