Показать сообщение отдельно
Непрочитано 15.05.2016, 15:15   #13
Аватар для Awiion

По умолчанию Re: need help to decrypt

Цитата:
Сообщение от crayonnet Посмотреть сообщение
Awiion
How To fix SM_SERVER_MESSAGE_ANNOUNCE

PHP код:
 internal class SM_SERVER_MESSAGE_ANNOUNCE SendBaseGamePacket
    
{
        private 
Channel _channel;

        public 
SM_SERVER_MESSAGE_ANNOUNCE(int channelId)
        {
            
base.makeme();
            
this._channel ChannelInfoHolder.getChannel(channelId);
        }

        protected 
internal override void write()
        {
            
base.writeH(0xa0e);
            
base.writeD(1);
            
base.writeH((shortthis._channel.getAnnounceSize());
            
base.writeS(this._channel.getAnnounce(), this._channel.getAnnounceSize());
            
base.writeD(0);
        } 

Код:
    public override void WriteImpl()
        {
            Write<int>(channel.Announce != null);
            Write<short>(channel.Announce.Length);
            WriteUnicode(channel.Announce);
        }
Awiion вне форума Отправить сообщение для Awiion с помощью Skype™ Ответить с цитированием