Advertisement
Guest User

BasePacket

a guest
Apr 22nd, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.60 KB | None | 0 0
  1. // Copyright (C) Paul Becker, - All Rights Reserved
  2. // Unauthorized copying of this file, via any medium is strictly prohibited
  3. // Proprietary and confidential
  4. // Written by Paul Becker <paul.becker1@gmx.de>, 22:06
  5.  
  6. #region usings
  7.  
  8. using System.IO;
  9.  
  10. #endregion
  11.  
  12. namespace SeraphimServer.Network
  13. {
  14.     public abstract class BasePacket : MemoryStream
  15.     {
  16.         public Connection Connection;
  17.         public bool Crypted = true;
  18.         public int Opcode;
  19.         public PacketType Type;
  20.  
  21.         public BasePacket(PacketType direction)
  22.         {
  23.             Type = direction;
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement