public static PuzzleReset Deserialize(Stream stream) { PuzzleReset puzzleReset = Pool.Get <PuzzleReset>(); PuzzleReset.Deserialize(stream, puzzleReset, false); return(puzzleReset); }
public static PuzzleReset Deserialize(byte[] buffer, PuzzleReset instance, bool isDelta = false) { using (MemoryStream memoryStream = new MemoryStream(buffer)) { PuzzleReset.Deserialize(memoryStream, instance, isDelta); } return(instance); }
public static PuzzleReset Deserialize(byte[] buffer) { PuzzleReset puzzleReset = Pool.Get <PuzzleReset>(); using (MemoryStream memoryStream = new MemoryStream(buffer)) { PuzzleReset.Deserialize(memoryStream, puzzleReset, false); } return(puzzleReset); }
public void FromProto(Stream stream, bool isDelta = false) { PuzzleReset.Deserialize(stream, this, isDelta); }