@@ -137,10 +137,10 @@ public static (ushort FileVersion, string Name, string Author, string Descriptio
137137 }
138138
139139 /// <summary>
140- /// Loads a game from a compressed stream .
140+ /// Loads a <see cref="RawGame"/> from a zlib compressed <see cref="Stream"/> .
141141 /// </summary>
142- /// <param name="stream">The stream to load from.</param>
143- /// <returns>The loaded game .</returns>
142+ /// <param name="stream">The reader to read the <see cref="RawGame"/> from.</param>
143+ /// <returns>A <see cref="RawGame"/> read from <paramref name="stream"/> .</returns>
144144 public static RawGame LoadCompressed ( Stream stream )
145145 {
146146 // decompress
@@ -155,10 +155,10 @@ public static RawGame LoadCompressed(Stream stream)
155155 }
156156
157157 /// <summary>
158- /// Loads a game from a reader .
158+ /// Loads a <see cref="RawGame"/> from a <see cref="FcBinaryReader"/> .
159159 /// </summary>
160- /// <param name="reader">The reader to load from.</param>
161- /// <returns>The loaded game .</returns>
160+ /// <param name="reader">The reader to read the <see cref="RawGame"/> from.</param>
161+ /// <returns>A <see cref="RawGame"/> read from <paramref name="reader"/> .</returns>
162162 public static RawGame Load ( FcBinaryReader reader )
163163 {
164164 if ( reader is null )
@@ -195,9 +195,9 @@ public static RawGame Load(FcBinaryReader reader)
195195 }
196196
197197 /// <summary>
198- /// Saves and compresses game to a stream .
198+ /// Writes and compresses a <see cref="RawPrefab"/> into a <see cref="Stream"/> .
199199 /// </summary>
200- /// <param name="stream">The stream to save to .</param>
200+ /// <param name="stream">The <see cref="Stream"/> to write this instance into .</param>
201201 public void SaveCompressed ( Stream stream )
202202 {
203203 using ( MemoryStream writerStream = new MemoryStream ( ) )
@@ -211,9 +211,9 @@ public void SaveCompressed(Stream stream)
211211 }
212212
213213 /// <summary>
214- /// Saves a game to a writer .
214+ /// Writes a <see cref="RawPrefab"/> into a <see cref="FcBinaryWriter"/> .
215215 /// </summary>
216- /// <param name="writer">The writer to save to .</param>
216+ /// <param name="writer">The <see cref="FcBinaryWriter"/> to write this instance into .</param>
217217 public void Save ( FcBinaryWriter writer )
218218 {
219219 if ( writer is null )
0 commit comments