Exemple #1
0
 void Game_OnSendMessage(D2Packets.GameClient.SendMessage Packet, ref BlueVex.Packet.PacketFlag Flag)
 {
     if (Packet.message.Length > 100)
     {
         Flag = BlueVex.Packet.PacketFlag.PacketFlag_Virtual;
     }
 }
Exemple #2
0
 void Game_OnReceiveMessage(D2Packets.GameServer.GameMessage Packet, ref BlueVex.Packet.PacketFlag Flag)
 {
     if (Packet.MessageType == D2Data.GameMessageType.GameMessage)
     {
         if (Packet.Message.Length > 100)
         {
             Flag = BlueVex.Packet.PacketFlag.PacketFlag_Virtual;
         }
     }
 }