コード例 #1
0
        public static RelationshipManager Deserialize(Stream stream)
        {
            RelationshipManager relationshipManager = Pool.Get <RelationshipManager>();

            RelationshipManager.Deserialize(stream, relationshipManager, false);
            return(relationshipManager);
        }
コード例 #2
0
 public static RelationshipManager Deserialize(byte[] buffer, RelationshipManager instance, bool isDelta = false)
 {
     using (MemoryStream memoryStream = new MemoryStream(buffer))
     {
         RelationshipManager.Deserialize(memoryStream, instance, isDelta);
     }
     return(instance);
 }
コード例 #3
0
        public static RelationshipManager Deserialize(byte[] buffer)
        {
            RelationshipManager relationshipManager = Pool.Get <RelationshipManager>();

            using (MemoryStream memoryStream = new MemoryStream(buffer))
            {
                RelationshipManager.Deserialize(memoryStream, relationshipManager, false);
            }
            return(relationshipManager);
        }
コード例 #4
0
 public void FromProto(Stream stream, bool isDelta = false)
 {
     RelationshipManager.Deserialize(stream, this, isDelta);
 }