Example #1
0
        private void HandleRecvStatRequest(Packet parsed)
        {
            StatRequestInfo sr = PacketManager.RecvStatRequest(parsed);

            if (ClientSpawnStatLoadInfo != null)
            {
                ClientSpawnStatLoadInfo(this, new ClientStatLoadEventArgs(sr));
            }
        }
Example #2
0
        void c_ClientSpawnStatLoadInfo(object sender, ClientStatLoadEventArgs e)
        {
            Client          c  = (Client)sender;
            StatRequestInfo sr = e.Info;

            //Character ch = channelManager.GetCharacterByCharacterId(sr.CharacterID);
            byte[] bufferSendStats = PacketManager.SendSpawnStats(c.MyCharacter);
            c.Send(bufferSendStats);
        }
Example #3
0
 public ClientStatLoadEventArgs(StatRequestInfo Stats)
 {
     this.sr = Stats;
 }