/// <summary> /// Fills the response object with new credit balance /// </summary> /// <param name="dataStream">the input stream</param> public static NetworkResponse Parse(MemoryStream dataStream) { ResponseClashEndBattle response = new ResponseClashEndBattle(); response.credits = DataReader.ReadInt(dataStream); return response; }