Пример #1
0
        public static BaseNPC DeserializeLength(Stream stream, int length)
        {
            BaseNPC baseNPC = Pool.Get <BaseNPC>();

            BaseNPC.DeserializeLength(stream, length, baseNPC, false);
            return(baseNPC);
        }
Пример #2
0
 public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false)
 {
     BaseNPC.DeserializeLength(stream, size, this, isDelta);
 }